Re: db sever seems to be dropping connections

From: Chris <dmagick(at)gmail(dot)com>
To: Rushabh Doshi <rdoshi(at)vmware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: db sever seems to be dropping connections
Date: 2006-03-20 05:49:41
Message-ID: 441E4275.5020803@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2006-03-20 05:55:48 Re: Connecting
Previous Message Jan Cruz 2006-03-20 02:08:09 Re: How to idenity duplicate rows