Re: Postgres processes

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Oleg Lebedev <oleg(dot)lebedev(at)waterford(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres processes
Date: 2003-03-10 19:17:08
Message-ID: Pine.LNX.4.33.0303101215410.15161-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-03-10 19:18:58 Re: Problems with pg_dump
Previous Message Ben Ramsey 2003-03-10 18:41:37 Re: Problems with pg_dump