Re: Too many Idle Connections
| От | michael@sqlexec.com |
|---|---|
| Тема | Re: Too many Idle Connections |
| Дата | |
| Msg-id | 581E059D.4080105@sqlexec.com обсуждение исходный текст |
| Ответ на | Re: Too many Idle Connections ("Joshua D. Drake" <jd@commandprompt.com>) |
| Список | pgsql-admin |
JD is correct. Tune PGPOOL Parameters. Probably, connection_life_time is the one you should tune. Default is that cached connections are never expired (0). Set it to a non zero value like 600 (10 minutes) and I am assuming that connection_cache is turned on (default)
Regards,
Michael Vitale
Regards,
Michael Vitale
Tuesday, November 1, 2016 12:46 PMOn 11/01/2016 09:44 AM, Sumeet Shukla wrote:Hi,
I'm using pgPool and I see that there are too many idle connections
(almost 95%).
Out of 9000 connections 8500 are idle at any point in time.
Any idea how can I go about it or what should be my approach to minimize
such idle connections? What parameters do I need to look into?
Your pool is too large. This is a pgpool question.
Sincerely,
JD
Thanks & Regards,
Sumeet Shukla
Ph. No. 860 000 6512
В списке pgsql-admin по дате отправления: