X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BE673D1B1E0 for ; Mon, 5 Jul 2004 01:35:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 75571-08 for ; Mon, 5 Jul 2004 04:35:19 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E5E0ED1B1AB for ; Mon, 5 Jul 2004 01:35:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i654ZHVA018478; Mon, 5 Jul 2004 00:35:17 -0400 (EDT) To: =?iso-8859-1?q?Aryan=20Ariel=20Rodriguez=20Chalas?= Cc: pgsql-admin@postgresql.org Subject: Re: Losing my database connection In-reply-to: <20040705034559.23295.qmail@web41014.mail.yahoo.com> References: <20040705034559.23295.qmail@web41014.mail.yahoo.com> Comments: In-reply-to =?iso-8859-1?q?Aryan=20Ariel=20Rodriguez=20Chalas?= message dated "Sun, 04 Jul 2004 22:45:59 -0500" Date: Mon, 05 Jul 2004 00:35:17 -0400 Message-ID: <18477.1089002117@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/64 X-Sequence-Number: 14132 =?iso-8859-1?q?Aryan=20Ariel=20Rodriguez=20Chalas?= 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