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

From Magnus Hagander
Subject Re: hanging processes
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C77E0@algol.sollentuna.se
Whole thread Raw
In response to hanging processes  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
> > 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?

Which, if you didn't know it already, is two hours on Windows.

//Magnus

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: hanging processes
Next
From: "Merlin Moncure"
Date:
Subject: Re: hanging processes