[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Complete comment about zombieproofing



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv23862/lib/mixminion/server

Modified Files:
	ServerMain.py 
Log Message:
Complete comment about zombieproofing

Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- ServerMain.py	13 Apr 2003 15:54:42 -0000	1.48
+++ ServerMain.py	22 Apr 2003 02:07:34 -0000	1.49
@@ -583,7 +583,10 @@
             elif event == 'WAIT':
                 # Every few minutes, we reap zombies.  Why, you ask?  Isn't
                 # catching sigchild enough?  Nope -- sometimes buggy delivery
-                # software forks, 
+                # software forks, stays along long enough to ignore a child's
+                # SIGCHLD, then dies itself.  Or something -- in any case, we
+                # sure seem to be leaving a bunch of zombie mixmaster processes
+                # around.  This should fix it.
                 waitForChildren(blocking=0)
                 insort(scheduledEvents, (now + 180, "WAIT"))
             elif event == 'MIX':