pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Saurabh Dave <saurabhdave@gmail.com>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Queries very slow and memory consumption too high
Date: Tue, 23 Jun 2009 06:13:06 -0400
Message-ID: <491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com> (raw)
In-Reply-To: <fdd0c0f90906230144n26e77f5cgf8e282631e46d72@mail.gmail.com>
References: <fdd0c0f90906212202s68a9e393u654420245e84df31@mail.gmail.com>
	<D960CB61B694CF459DCFB4B0128514C202FF6669@exadv11.host.magwien.gv.at>
	<fdd0c0f90906221848x345a0a04pab79592740c144f@mail.gmail.com>
	<D960CB61B694CF459DCFB4B0128514C202FF666F@exadv11.host.magwien.gv.at>
	<1245744319.20088.24.camel@tillium.localnet>
	<fdd0c0f90906230144n26e77f5cgf8e282631e46d72@mail.gmail.com>

On Tue, Jun 23, 2009 at 4:44 AM, Saurabh Dave <saurabhdave@gmail.com> wrote:

> >>If your problem is something that develops over time, one thing
> >>you could watch out for are resource leaks, most prominently
> >>memory leaks.
>
> What is the recommended way to do that? It seems postgres uses shared
> memory, and we have 15 connections all taking up around 35MB as per task
> manager OR top. We are not able to figure out definitatively if there is a
> memory leak.
> Help/Clues??? Thanks all for your responses so far.
>

This also suggests that you have not tuned pg. 35M shared memory is not very
much. You should look at tuning the installation.

Dave

>
> - Saurabh
>
>
>
> On Tue, Jun 23, 2009 at 1:35 PM, Craig Ringer <craig@postnewspapers.com.au
> > wrote:
>
>> On Tue, 2009-06-23 at 09:38 +0200, Albe Laurenz wrote:
>>
>> > Moving to 8.3.7 (what is 8.3.7.1?), on the other hand, is certainly
>> > a good thing.
>>
>> Probably a Linux distro packaging thing, or a Windows installer
>> revision. On my Ubuntu 9.04 box for example, `dpkg -l postgresql-8.3'
>> reports Pg's version as 8.3.7-1 . The -1 is the Debian package revision,
>> but people may not know that.
>>
>> --
>> Craig Ringer
>>
>>
>

view thread (13+ messages)  latest in thread

Message-ID: <491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com>
Permalink:  ../491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com/
Also on:    postgresql.org/message-id/491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, saurabhdave@gmail.com, craig@postnewspapers.com.au, laurenz.albe@wien.gv.at
  Subject: Re: Queries very slow and memory consumption too high
  In-Reply-To: <491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com>
  References: <fdd0c0f90906212202s68a9e393u654420245e84df31@mail.gmail.com> <D960CB61B694CF459DCFB4B0128514C202FF6669@exadv11.host.magwien.gv.at> <fdd0c0f90906221848x345a0a04pab79592740c144f@mail.gmail.com> <D960CB61B694CF459DCFB4B0128514C202FF666F@exadv11.host.magwien.gv.at> <1245744319.20088.24.camel@tillium.localnet> <fdd0c0f90906230144n26e77f5cgf8e282631e46d72@mail.gmail.com> <491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox