Re: How to handle missing pgsql.connect_timeout

Поиск
Список
Период
Сортировка
От Christopher Murtagh
Тема Re: How to handle missing pgsql.connect_timeout
Дата
Msg-id 1107277832.12116.1.camel@localhost.localdomain
обсуждение исходный текст
Ответ на How to handle missing pgsql.connect_timeout  (Janning Vygen <vygen@gmx.de>)
Ответы Re: How to handle missing pgsql.connect_timeout  (Janning Vygen <vygen@planwerk6.de>)
Список pgsql-php
On Tue, 2005-02-01 at 17:40 +0100, Janning Vygen wrote:
> Am Dienstag, 1. Februar 2005 14:18 schrieben Sie:
> > On Tue, 2005-02-01 at 09:38 +0100, Janning Vygen wrote:
> > > Does anybody has any hints to solve this problem?
> >
> >  This is a bit of a non-solution, but it is what worked for us. We
> > simply stopped using pconnect() altogether. This seemed to have solved
> > connection timeouts and delays. Our site gets 500k page hits per day
> > without any problems.
>
> hm. i didn't get the point. Do you mean you don't use persistent connections
> just plain pg_connect instead of pg_pconnect??

 Exactly. pg_pconnect() is (or was the last time I tried it) broken in
PHP. We were constantly getting connections that wouldn't close, and
sometimes not time out. Ever since we gave up on them, we've had no
problems.

Cheers,

Chris

--
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017


В списке pgsql-php по дате отправления:

Предыдущее
От: Frank Bax
Дата:
Сообщение: Re: to_char replacement
Следующее
От: Christopher Murtagh
Дата:
Сообщение: Re: How to handle missing pgsql.connect_timeout