Nir Soffer has posted comments on this change.

Change subject: supervdsm: Add wait for SIGKILLed processes
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/34142/2/vdsm/supervdsmServer
File vdsm/supervdsmServer:

Line 246: 
Line 247:             # If the child was already dead or just killed, wait on 
it,
Line 248:             # otherwise let zombiereaper take care of it.
Line 249:             if proc.pid != os.waitpid(proc.pid, os.WNOHANG):
Line 250:                 zombiereaper.autoReapPID(proc.pid)
> Because it could be that SIGCHLD already arrived, so we can collect it righ
Using only zombiereaper does solve it (it not it was very sad). Check 
zombiereaper implementation.
Line 251:             raise Timeout()
Line 252: 
Line 253:         res, err = pipe.recv()
Line 254:         pipe.send("Bye")


-- 
To view, visit http://gerrit.ovirt.org/34142
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id97a578f77cf2c9a98788b4c2e29a799b2784fc3
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Dima Kuznetsov <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: mooli tayer <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to