On Wed, Jan 30, 2013 at 05:53:11PM +0800, Sheldon wrote:
> why not let the kernel init process to reap the zombie instead of
> father process?
> signal.signal(signal.SIGCHLD, signal.SIG_IGN)
> Just for portable, BSD and System V does not support SIG_IGN?
SIG_IGN is the default behavior for SIGCHLD
why not let the kernel init process to reap the zombie instead of father
process?
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
Just for portable, BSD and System V does not support SIG_IGN?
On 01/25/2013 03:31 PM, Mark Wu wrote:
On 01/25/2013 03:20 PM, Mark Wu wrote:
Great work!
The default ac
I like your idea but we have following problems for signal.siginterrupt():
(1) I guess signal.siginterrupt also has some unexpected behaviour that
we can not use that either at this moment:( When I integrated to the
zombie reaper test case, handler will not be called when receive
SIGCHLD.(also
on 01/25/2013 15:31, Mark Wu wrote:
On 01/25/2013 03:20 PM, Mark Wu wrote:
Great work!
The default action for SIGCHLD is ignore, so there's no problems
reported before a signal handler is installed by zombie reaper.
But I still have one problem: the python multiprocessing.manager code
is runni
On Fri 25 Jan 2013 05:23:24 PM CST, Royce Lv wrote:
I patched python source managers.py to retry recv() after EINTR,
supervdsm works well and the issue gone.
Even declared in python doc that:"only the main thread can set a
new signal handler, and the main thread will be the only one to
re
On 01/25/2013 03:20 PM, Mark Wu wrote:
Great work!
The default action for SIGCHLD is ignore, so there's no problems
reported before a signal handler is installed by zombie reaper.
But I still have one problem: the python multiprocessing.manager code
is running a new thread and according to the
Great work!
The default action for SIGCHLD is ignore, so there's no problems
reported before a signal handler is installed by zombie reaper.
But I still have one problem: the python multiprocessing.manager code
is running a new thread and according to the implementation of python's
signal, only