Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0aW-0005Wt-VP for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jan 2013 13:42:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ty0aV-0001vz-UZ for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jan 2013 13:41:59 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0aV-0001vJ-1k for pgsql-bugs@postgresql.org; Wed, 23 Jan 2013 13:41:59 +0000 Received: from mout.gmx.net ([74.208.4.201]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0aP-0005c5-6a for pgsql-bugs@postgresql.org; Wed, 23 Jan 2013 13:41:58 +0000 Received: from mailout-us.gmx.com ([172.19.198.47]) by mrigmx.server.lan (mrigmxus002) with ESMTP (Nemesis) id 0Loq23-1THGAm3iX5-00gsOg for ; Wed, 23 Jan 2013 14:41:51 +0100 Received: (qmail 18309 invoked by uid 0); 23 Jan 2013 13:41:51 -0000 Received: from 76.255.19.161 by rms-us008 with HTTP Content-Type: text/plain; charset="utf-8" Date: Wed, 23 Jan 2013 08:41:50 -0500 From: "Kevin Grittner" Message-ID: <20130123134150.248220@gmx.com> MIME-Version: 1.0 Subject: Re: BUG #7821: constant disconnection with external network To: alessandro@nwsoftware.com.br,pgsql-bugs@postgresql.org X-Authenticated: #138763884 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: yY2NcJIB3zOlOQ09LnwhJmB+IGRvb8Br X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org alessandro@nwsoftware.com.br wrote: > I use PostgreSQL 9.0.6 and I´m with a problem using PostgreSQL with external > network, by internet (cloud). > > If the user open the application and don´t use the application by minutes, > the connection with database is lost, but if the user to use application > constantly, the connection with database isn't interrupted. > > Is there some setting to avoid this kind of problem? This is very likely to be caused by a firewall; reconfiguring the firewall is one solution. You might be able to keep the connections alive by configuring the TCP keepalive parameters. http://www.postgresql.org/docs/9.2/interactive/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS -Kevin -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs