Re: Postgres processes - Mailing list pgsql-general

From scott.marlowe
Subject Re: Postgres processes
Date
Msg-id Pine.LNX.4.33.0303101215410.15161-100000@css120.ihs.com
Whole thread Raw
In response to Postgres processes  (Oleg Lebedev <oleg.lebedev@waterford.org>)
List pgsql-general
On Mon, 10 Mar 2003, Oleg Lebedev wrote:

> After running my application for a couple of days, I noticed that there
> is a bunch of postgres processes sitting on my system eating up a lot of
> memory. It show that they are all idle, but I don't know what started
> them. These processes use about 1GB of memory, so I will be really happy
> to get rid of them. But, why are they there? Any ideas?
> Thanks.

If your application is using persistant connections or connection pooling,
this is actually normal, and most of that memory being used is actually in
shared buffers, so no big deal.

If your application is NOT using persistant connections / pooling them,
then this is often a sign that your client side app is crashing.

Just do a 'pg_ctl -m immediate stop' ' pg_ctl start' to get rid of them
during off peak hours.


pgsql-general by date:

Previous
From: "Ben Ramsey"
Date:
Subject: Re: Problems with pg_dump
Next
From: Dennis Gearon
Date:
Subject: Re: Problems with pg_dump