pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aryan Ariel Rodriguez Chalas <wimogan@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Losing my database connection
Date: Mon, 05 Jul 2004 00:35:17 -0400
Message-ID: <18477.1089002117@sss.pgh.pa.us> (raw)
In-Reply-To: <20040705034559.23295.qmail@web41014.mail.yahoo.com>
References: <20040705034559.23295.qmail@web41014.mail.yahoo.com>

=?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



view thread (2+ messages)

Message-ID: <18477.1089002117@sss.pgh.pa.us>
Permalink:  ../18477.1089002117@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18477.1089002117@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, wimogan@yahoo.com
  Subject: Re: Losing my database connection
  In-Reply-To: <18477.1089002117@sss.pgh.pa.us>
  References: <20040705034559.23295.qmail@web41014.mail.yahoo.com> <18477.1089002117@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox