Search Postgresql Archives

Idle connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have some issue where
SELECT * from pg_stat_activity WHERE current_query='<IDLE>';
returns too many rows .

What is the meaning of IDLE ?
I suspect that the server is overloaded with idle connections, but i don't know why .
Sometimes i am forced to do
 SELECT pg_terminate_backend(procpid) from pg_stat_activity where current_query='<IDLE>';


Queries comes from 2 web nodes .

Any ideas why is this happening ?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux