[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-21 Thread Charles-François Natali
Charles-François Natali added the comment: Committed, thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: resource usage -> behavior versions: +Python 3.3, Python 3.4 ___ Python tracker

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae0b572ced20 by Charles-François Natali in branch 'default': Issue #21491: socketserver: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/ae0b572ced20 -- ___ Python tracke

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a7375bd09f9 by Charles-François Natali in branch '3.4': Issue #21491: socketserver: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/2a7375bd09f9 -- ___ Python tracker <

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa5e3f7a5501 by Charles-François Natali in branch '2.7': Issue #21491: SocketServer: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/aa5e3f7a5501 -- nosy: +python-dev ___

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-07 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch fixing both issues. -- keywords: +needs review, patch nosy: +haypo, pitrou stage: -> patch review Added file: http://bugs.python.org/file35508/socketserver_reap.diff ___ Python tracker

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-05-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-05-13 Thread Ids van der Molen
New submission from Ids van der Molen: collect_children routine in SocketServer.py contains two possible race conditions. First one is in while loop "while len(self.active_children) >= self.max_children:". If status of child is collected outside of Socket server (for example in signal handler