|
|||||||||||
|
Re: [GENERAL] (Never?) Kill Postmaster?
From: Martijn van Oosterhout <kleptog(at)svana.org>
Date: Sun Nov 11 2007 - 12:42:52 EST
Yeah, not being able to kill processes that are waiting for I/O is somewhat of a known problem in older versions, unsure if it's still an issue. The issue is that the signal is set to restartable, which means that the SIGINT signal handler gets called and then it goes right back to waiting, rather than interrupting the system call. In the libpq client we handle this by jumping out of the signal handler. For the server the best bet would probably be to disable the restartable flag for the period of socket I/O. Not sure if this has anything to do with your main problem though. Have a nice day, -- Martijn van Oosterhout < kleptog(at)svana.org> http://svana.org/kleptog/Received on Sun Nov 11 12:45:21 2007 This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 19:40:26 EDT |
||||||||||
|
|||||||||||