From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: pgsql-hackers-win32@postgresql.org
Subject: Re: hanging processes
Date: Fri, 29 Jul 2005 00:20:06 -0400
Message-ID: <12866.1122610806@sss.pgh.pa.us> (raw)
In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local>
References: <6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local>
"Merlin Moncure" <merlin.moncure@rcsonline.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers-win32@postgresql.org
Cc: tgl@sss.pgh.pa.us, merlin.moncure@rcsonline.com
Subject: Re: hanging processes
In-Reply-To: <12866.1122610806@sss.pgh.pa.us>
References: <6EE64EF3AB31D5448D0007DD34EEB3417DCF4D@Herge.rcsinc.local> <12866.1122610806@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox