Ezequias Rodrigues da Rocha wrote:
> I would like to know how postgresql defines that a connection is
> inactive. I have the same problem but in the future I couldn't restart
> my server every day.
I believe IDLE = not currently processing a query / sending data back to
> Any explanation ?
> 2007/2/26, Goran Rakic <gossa(at)disyu(dot)com>:
>> I have installed POSTGRESQL 8.2 on W2K3 32bit , 100 users connecting from
>> desktop applications and 200 users connecting thru web service from
>> I have problem with second groups of users.
>> Often they do not disconnect from POSTGRE Server and with time passing
>> I have lot of IDLE users and very much memory consumptions. From time to
>> time that can crash server then only restarting server will kill all
>> postgres.exe from memory and this annoying me, because that I build
>> to restart server every night. I could not get programmers to change
200 web based users should be sharing a smaller number of connections
(maybe 50 to 100).
What are you using to generate the pages? php, asp, perl?
Do you use persistent connections in the above or some sort of pooling
between the two (like pgpool)? or some fancy tracking of each users very
I would be looking into the web server connections and seeing if the
number of connections from there grows and in so finding why they don't
get disconnected when finished.
>> Is there parameters which will disconnect IDLE users if they excided some
>> time or some program which will purge memory from non active posgres.exe
Get Sheeky @ http://Sheeky.Biz
In response to
pgsql-admin by date
|Next:||From: Ted Byers||Date: 2007-02-28 17:29:50|
|Subject: Re: [Bulk] Re: Disconnecting non active (IDLE ) users|
|Previous:||From: Ezequias Rodrigues da Rocha||Date: 2007-02-28 16:01:01|
|Subject: Re: Disconnecting non active (IDLE ) users|