[issue31151] test_socketserver: Warning -- reap_children() reaped child process

2017-08-10 Thread STINNER Victor
STINNER Victor added the comment: bpo-31010 has been marked as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-li

[issue31151] test_socketserver: Warning -- reap_children() reaped child process

2017-08-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset aa8ec34ad52bb3b274ce91169e1bc4a598655049 by Victor Stinner in branch 'master': bpo-31151: Add socketserver.ForkingMixIn.server_close() (#3057) https://github.com/python/cpython/commit/aa8ec34ad52bb3b274ce91169e1bc4a598655049 --

[issue31151] test_socketserver: Warning -- reap_children() reaped child process

2017-08-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3092 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31151] test_socketserver: Warning -- reap_children() reaped child process

2017-08-10 Thread STINNER Victor
STINNER Victor added the comment: The problem is that socketserver.ForkinMixin doesn't wait until all children completes. It's only calls os.waitpid() in non-blocking module (using os.WNOHANG) after each loop iteration. If a child process completes after the last call to ForkingMixIn.collect_c

[issue31151] test_socketserver: Warning -- reap_children() reaped child process

2017-08-08 Thread STINNER Victor
STINNER Victor added the comment: Ah, the master branch is also affected. Example: http://buildbot.python.org/all/builders/x86%20Gentoo%20Refleaks%203.x/builds/47/steps/test/logs/stdio 1:35:05 load avg: 4.64 [212/406] test_socketserver passed -- running: test_subprocess (370 sec) beginning 6 r