Re: hanging processes - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: hanging processes
Date
Msg-id 12866.1122610806@sss.pgh.pa.us
Whole thread Raw
In response to hanging processes  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
"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

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: hanging processes
Next
From: "Magnus Hagander"
Date:
Subject: Re: hanging processes