Re: Is IDLE session really idle? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Is IDLE session really idle?
Date
Msg-id 27435.1245107956@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is IDLE session really idle?  (Igor Polishchuk <ipolishchuk@hi5.com>)
List pgsql-admin
Igor Polishchuk <ipolishchuk@hi5.com> writes:
> ... Eventually, the database just hangs and the host
> becomes unresponsive for about 15 minutes till the sessions die out.

Well, that's a problem all right, but I'm entirely unconvinced by your
hypothesis about what's causing it.  Have you tried watching "vmstat"
(particularly the swap rate) while things go downhill?  Do any signs
of distress start to appear in the postmaster log or other system logs?
Do other services on the box start to fail, and if so what are they
complaining about?

> Isn't it true, that work memory once allocated for a  session does not get
> deallocated till the sessions is closed?

No.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Pgsql remote connection issue was: Regarding PostgreSQL problem.
Next
From: "Premila Devi"
Date:
Subject: Database Import..Please Help Me