Re: Persistent Connects (pg_pconnect)
| От | Serge Canizares |
|---|---|
| Тема | Re: Persistent Connects (pg_pconnect) |
| Дата | |
| Msg-id | 3A1BD36F.68722F03@ephilosopher.com обсуждение исходный текст |
| Ответ на | Persistent Connects (pg_pconnect) (Colleen Williams <colleen@digital-arts.co.uk>) |
| Список | pgsql-sql |
> Not sure if this is related, but under the non-threading Apache > server, you get 1 persistent connection per Apache process. I don't > think you can be sure which process gets the page with the connection > request, so if you have a limit of, say, 50 processes, and your server > is hit fairly often, eventually you'll see 50 connections even though > only a few simultaneous accesses to PHP/PostgreSQL are made. > > Or, I could be totally off. > > -itai Actually, with php 4.0x, the apache processes can gather a pool of persistent connexions. I had the same sort of problem once, and saw that each apache process was grabbing ~4 postgreSQL connexions and thus maxing out the number available from the server.
В списке pgsql-sql по дате отправления: