X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 236CD475CA9 for ; Mon, 3 Feb 2003 10:30:58 -0500 (EST) Received: from stan.ringways.co.uk (hub.ringways.co.uk [213.38.87.130]) by postgresql.org (Postfix) with ESMTP id 9DA0F475D93 for ; Mon, 3 Feb 2003 10:30:04 -0500 (EST) Received: from gary.ringways.co.uk ([10.1.1.2]) by stan.ringways.co.uk with esmtp (Exim 3.22 #1) id 18fif6-0006wm-00; Mon, 03 Feb 2003 15:37:32 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Gary Stainburn Organization: Ringways Garages Ltd To: Egon Reetz Subject: Re: Fwd: Postgresql Date: Mon, 3 Feb 2003 15:28:09 +0000 User-Agent: KMail/1.4.3 References: <200302031351.04860.gary.stainburn@ringways.co.uk> <3E3E7F2F.7FDAC640@usco.de> In-Reply-To: <3E3E7F2F.7FDAC640@usco.de> Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Message-Id: <200302031528.09007.gary.stainburn@ringways.co.uk> Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/41 X-Sequence-Number: 7239 On Monday 03 February 2003 2:39 pm, you wrote: > > Anyone know if postgres has a connections limit by default? I see a > > connections limit in my conf file but it is commented out..Just curious > > what the default limit is, if any. > > 32, compile with --with-maxbackends=3DN, where N is your max. connection > number. > > Egon Thanks for that Egon. I didn't read the OP properly. I thought it was asking how Postgresql hand= led=20 STALE connections. The specific situation I have in mind is that inside my firewall's DMZ I ha= ve=20 an Apache server running PHP. This PHP opens a persistant connection throug= h=20 the firewall to a postgresql service in another DMZ. If I reboot the=20 firewall, the PHP connection is lost and to get my PHP working again I have= =20 to restart Apache (If anyone can suggest how I can either get round of=20 automate this I'd appreciate it). How does Postgresql handle this? I would hope that it would notice the los= s=20 of the IP connection and close the link gracefully, and not just leave the= =20 connectino dangling. Can anyone confirm this? --=20 Gary Stainburn =20 This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000=20= =20=20=20=20