| От | scott.marlowe |
|---|---|
| Тема | Re: PHP + Postgres: More than 1000 postmasters produce |
| Дата | |
| Msg-id | Pine.LNX.4.33.0402201054100.10445-100000@css120.ihs.com обсуждение |
| Ответ на | Re: PHP + Postgres: More than 1000 postmasters produce (Csaba Nagy <nagy@ecircle-ag.com>) |
| Список | pgsql-general |
On 20 Feb 2004, Csaba Nagy wrote: > Well, it seems for your application is better to limit php's persistent > connection pool as a quick measure. > Try to set these values to something sensible for you: > > ; Maximum number of persistent links. -1 means no limit. > pgsql.max_persistent = 20 Please note that pgsql.max_persistant is PER apache / php backend process. http://www.php.net/manual/en/ref.pgsql.php QUOTE: pgsql.max_persistent integer The maximum number of persistent Postgres connections per process. UNQUOTE: > ; Maximum number of links (persistent+non persistent). -1 means no limit. > pgsql.max_links = 30 This one too is per process > Or just disable persistent connections altogether, and see if that is > not resulting in better performance: My recommendation.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера