[osiris-devel] possible fix for osirismd defunct procs
David Vasil
dmvasil at ornl.gov
Thu Dec 21 11:34:05 EST 2006
The original osirismd code had a signal handler for sigchld which would
only check if a signal occurred before and after wait_for_data() in
osirismd.c:process(). I added a signal handler specifically for the
osirismd threads that handle scans to md_scan.c. All it does is when it
gets a SIGCHLD it issues a wait().
I've been running this code for over 24 hours now and have had no
defunct processes. Without this code change I would see zombies appear
within several hours of OsirisMD running.
Are there any brave souls who experience the zombie problem that could
test this patch out? If it fixes the problem I'll get Bruce to make a
4.2.3 release shortly after New Years.
--
-dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zombie.patch
Url: http://lists.shmoo.com/pipermail/osiris-devel/attachments/20061221/254918f1/attachment.txt
More information about the osiris-devel
mailing list