From: | "Indika Maligaspe" <indika(at)rezgateway(dot)com> |
---|---|
To: | "'Mark Kirkwood'" <markir(at)paradise(dot)net(dot)nz>, <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Postgress memory leak with JBoss3.2.6 and large DB |
Date: | 2006-09-05 04:02:04 |
Message-ID: | 20060904210058.6BAD4ECF@dm21.mta.everyone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hi Guys,
We found the issue regarding our memory leak. It was the query. It
seams were using functions with fetch cursors on large data sets and the
cursors were not getting closed properly. Hence the memory was building up.
So I guess this was an application error. In fact we bought the Query memory
from 1.4 GB to 2 MB.........
Thanks for all the help guys. Because by reading all your comments I was
able to understand a lot about Postgres memory settings.
K.Indika Maligaspe
-----Original Message-----
From: pgsql-performance-owner(at)postgresql(dot)org
[mailto:pgsql-performance-owner(at)postgresql(dot)org] On Behalf Of Mark Kirkwood
Sent: Monday, September 04, 2006 9:23 AM
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] Postgress memory leak with JBoss3.2.6 and large DB
Indika Maligaspe wrote:
> Hey guys,
>
> We are running a Linux 2.4 enterprise edition box with 6GB of RAM,
> **Postgres 8.0.3**. (snippage)
>
You might want to consider upgrading to 8.0.8 (see below), and seeing if
the problem still persists.
> As you can see the postmaster users are taking way over the memory that
> should be taken.
>
>
> If any of you can give us some pointers we would really appreciate that
> and thanks in advance.
>
I notice that there are a number of fixes for memory leaks since 8.0.3 -
8.0.4 and 8.0.8 is where I see 'em specifically (reading release notes
for 8.0.8). So you may be experiencing an issue that is fixed in the
current 8.0 releases! I recommend upgrading to 8.0.8.
You didn't say what your HW was, but if you are on a 32-bit platform,
then a 2.4 kernel when you have >2G ram may leak noticeable amounts of
memory itself...
Cheers
Mark
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
From | Date | Subject | |
---|---|---|---|
Next Message | Wei Song | 2006-09-05 06:31:24 | Re: Hanging queries on Windows 2003 SP1 |
Previous Message | Tom Lane | 2006-09-05 03:17:06 | Re: database bloat, non removovable rows, slow query etc... [RESOLVED] |