X-Original-To: pgsql-hackers-win32-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03B6C52A8B for ; Fri, 29 Jul 2005 01:20:17 -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 17171-05 for ; Fri, 29 Jul 2005 04:20:08 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 762A552932 for ; Fri, 29 Jul 2005 01:20:07 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6T4K6kK012867; Fri, 29 Jul 2005 00:20:07 -0400 (EDT) To: "Merlin Moncure" Cc: pgsql-hackers-win32@postgresql.org Subject: Re: hanging processes In-reply-to: <6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local> References: <6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local> Comments: In-reply-to "Merlin Moncure" message dated "Thu, 28 Jul 2005 16:51:14 -0400" Date: Fri, 29 Jul 2005 00:20:06 -0400 Message-ID: <12866.1122610806@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/66 X-Sequence-Number: 3309 "Merlin Moncure" writes: > With a win32 server & XP clients, if the client is killed with a hard > reset i.e. pull out power cord, the server does not recognize that the > connection has been broken in pg_stat_activity and does not clean up > various things such as user_locks and presumably entries in pg_listener. > A manual kill via pg_ctl is required from that point. Did you wait for the TCP KEEPALIVE timeout interval? regards, tom lane