[prev in list] [next in list] [prev in thread] [next in thread]
List: grid-engine-dev
Subject: Qmaster mainloop waitpid()
From: Andreas Haas <Andreas.Haas () Sun ! COM>
Date: 2004-10-04 12:05:50
Message-ID: Pine.GSO.4.53.0410041351240.20814 () sr-ergb01-01
[Download RAW message or body]
I believe due to our changes from single- to multi-threaded qmaster
from 5.3 to 6.0 we lost qmaster mail-loop waitpid(2) call.
In 5.3 source tree we had code
if (dead_children) {
/* do a wait to our children so that OS can clean up */
while (waitpid(-1, &status, WNOHANG) > 0)
;
dead_children = 0;
}
in daemons/qmaster/qmaster.c. I presume lack of related code is
reason for bug
#1277 Defunct processes
anyone got an idea which qmaster thread would be best suited
to do the waitpid(2)?
Regards,
Andreas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic