Re: [Re] Need help with postgresql/apache/php optimisation
В списке pgsql-general по дате отправления:
| От | Froggy / Froggy Corp. |
|---|---|
| Тема | Re: [Re] Need help with postgresql/apache/php optimisation |
| Дата | |
| Msg-id | 4033F179.35862535@froggycorp.com обсуждение исходный текст |
| Ответ на | Re: [Re] Need help with postgresql/apache/php optimisation ("scott.marlowe" <scott.marlowe@ihs.com>) |
| Список | pgsql-general |
In fact, under php4.?, the connexion is not save under session, so i allways need to make a pg_connect. But under documentation it say that the socket stay open, so i save some cpu. "scott.marlowe" wrote: > > On Wed, 18 Feb 2004, Froggy / Froggy Corp. wrote: > > > Another question, i put on postgresql.conf a limited number of > > postgresql max_connections, and use permanent link beetween apache and > > postgresql. The problem is that a lot of apache thread is used for > > sending data (gfx). Is there a way to say that some thread are only here > > for php process ? > > No, PHP's "connection pooling" is more of an accident looking for a place > to happen than useful sometimes. you might want to try reverting to just > plain pg_connects and see how the machine behaves.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера