Re: Losing my database connection - Mailing list pgsql-admin

From Tom Lane
Subject Re: Losing my database connection
Date
Msg-id 18477.1089002117@sss.pgh.pa.us
Whole thread Raw
In response to Losing my database connection  (Aryan Ariel Rodriguez Chalas <wimogan@yahoo.com>)
List pgsql-admin
=?iso-8859-1?q?Aryan=20Ariel=20Rodriguez=20Chalas?= <wimogan@yahoo.com> writes:
> I'm having toubles with my PostgreSQL Database
> Connection. I don't know why, but after more or less
> 10 minutes I lose the connection to a PostgreSQL
> Database which is running in a server in a remote
> site. This means that, if I'm not doing any query to
> the Database on the server, my connections loses
> everty 10 minutes.

This sounds like a firewall problem.  If there's a firewall box between
you and the database server, and the firewall does address translation
(NAT), then it probably has a timeout after which it will drop the
translation info for an idle connection.  Ten minutes sounds
unreasonably short though :-(.  You should be able to adjust that
timeout somewhere in the firewall's settings ... if not, get a new
firewall.

            regards, tom lane

pgsql-admin by date:

Previous
From: Aryan Ariel Rodriguez Chalas
Date:
Subject: Losing my database connection
Next
From: Bruce Momjian
Date:
Subject: Re: How to list what queries are running in postgres?