func/minion/AuthedXMLRPCServer.py | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit 2c6168302e44b04178719d7ed9705a96f4278ebf Author: S.ÇagÌ?lar Onur <caglar@xxxxxxxx> Date: Fri Jul 29 15:58:10 2011 -0400 collect_children is only called in process_request, so at least the last process forked is not collected and becomes zombie. workaround it by setting the timeout also see; http://bugs.python.org/issue11109 diff --git a/func/minion/AuthedXMLRPCServer.py b/func/minion/AuthedXMLRPCServer.py index 7e0cc62..07e53c4 100644 --- a/func/minion/AuthedXMLRPCServer.py +++ b/func/minion/AuthedXMLRPCServer.py @@ -52,6 +52,11 @@ class AuthedSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHan class BaseAuthedXMLRPCServer(SocketServer.ForkingMixIn): def __init__(self, address, authinfo_callback=None): + # collect_children is only called in process_request, so at least the last process + # forked is not collected and becomes zombie. workaround it by setting the timeout + # also see; http://bugs.python.org/issue11109 + self.timeout = 3 + self.allow_reuse_address = 1 self.logRequests = 1 self.authinfo_callback = authinfo_callback
_______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list