On Wed, Dec 01, 2010 at 12:14:15PM -0500, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE-----
There is a race condition where if we send a SIGTERM before the
kernel has scheduled the child, it may be lost, and the child will
not terminate and will leave the monitor hung in wait().
This patch alters this behavior so that we will send the SIGTERM
again every 10ms and check the wait() in a nonblocking manner.
There is a simple script attached that can reproduce the original issue.
It will hang at random while running before this patch is applied.
I have to admit that I couldn't reproduce the issue, but I think the
patch is doing the right thing if a child does not respond to a signal.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----