Re: db sever seems to be dropping connections

Поиск
Список
Период
Сортировка
От Chris
Тема Re: db sever seems to be dropping connections
Дата
Msg-id 441E4275.5020803@gmail.com
обсуждение исходный текст
Ответ на db sever seems to be dropping connections  ("Rushabh Doshi" <rdoshi@vmware.com>)
Ответы Re: db sever seems to be dropping connections  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Rushabh Doshi wrote:
> I'm facing an issue with PostgreSQL .. The server seems to drop the
> connection to my script after a couple of hours (sometimes, not always).
>
> DBD::Pg::db selectrow_array failed: could not receive data from server:
> ....
> ....
> :server closed the connection unexpectedly.

Do you get a better error in the postgresql logs?

> And in another scenario it failed with the message:
> DBD::Pg::db selectrow_array failed: could not receive data from server:
> Connection timed out

Sounds more like a network issue. How is the script connecting to
postgres? using a socket? Through tcpip?

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Предыдущее
От: Berend Tober
Дата:
Сообщение: Re: How to idenity duplicate rows
Следующее
От: Chris
Дата:
Сообщение: Re: Connecting