X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BC4F847626D for ; Thu, 30 Jan 2003 17:44:40 -0500 (EST) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by postgresql.org (Postfix) with ESMTP id 1ACE8475D20 for ; Thu, 30 Jan 2003 17:44:40 -0500 (EST) Received: from andrew by mail.libertyrms.com with local (Exim 3.22 #3 (Debian)) id 18eKnx-0005oQ-00 for ; Thu, 30 Jan 2003 14:56:57 -0500 Date: Thu, 30 Jan 2003 14:56:57 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Lost connections Message-ID: <20030130145656.N983@mail.libertyrms.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <005301c2c893$4ebd1f00$1664a8c0@DEMOLITION> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <005301c2c893$4ebd1f00$1664a8c0@DEMOLITION>; from demolish@cwgsy.net on Thu, Jan 30, 2003 at 07:10:47PM -0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/346 X-Sequence-Number: 7188 On Thu, Jan 30, 2003 at 07:10:47PM -0000, Donald Fraser wrote: > 1) How as an administrator can I tell which connections are lost > and which are not so I can shut down the appropriate processes? The dead connection should get cleaned up when the TCP timeout happens, as I understand it. > 2) Is there a way of connecting to the server with client > applications that can avoid this situation. That is can the client > software do something extra when connecting such as additional > parameters, keep alive socket options... to avoid this scenario? Not as far as I know. You could lower your TCP timeout, I guess, but I believe the TCP/IP authorities say this is a Bad Idea. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110