This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年09月26日 13:47 by vstinner, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 3766 | merged | vstinner, 2017年09月26日 13:49 | |
| PR 3786 | merged | vstinner, 2017年09月27日 09:32 | |
| Messages (3) | |||
|---|---|---|---|
| msg303040 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年09月26日 13:47 | |
The bpo-31151 (socketserver.ForkingMixIn.server_close() leaks zombie processes) was fixed in the master branch, but 2.7 and 3.6 branches were not changed. I proposed to modify test_socketserver to explicitly waits until child processes complete. See attached PR. Example of leaked child processes the on "x86 Gentoo Refleaks 3.6" buildbot: http://buildbot.python.org/all/builders/x86%20Gentoo%20Refleaks%203.6/builds/102/steps/test/logs/stdio 0:26:11 load avg: 5.72 [ 62/405] test_socketserver passed -- running: test_multiprocessing_forkserver (594 sec) beginning 6 repetitions 123456 Warning -- reap_children() reaped child process 6891 .Warning -- reap_children() reaped child process 6976 Warning -- reap_children() reaped child process 6981 .Warning -- reap_children() reaped child process 7059 .Warning -- reap_children() reaped child process 7136 ..Warning -- reap_children() reaped child process 7306 . |
|||
| msg303115 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年09月27日 09:21 | |
New changeset fdcf3e9629201ef725af629d99e02215a2d657c8 by Victor Stinner in branch '3.6': bpo-31593: test_socketserver waits child processes (#3766) https://github.com/python/cpython/commit/fdcf3e9629201ef725af629d99e02215a2d657c8 |
|||
| msg303120 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年09月27日 10:03 | |
New changeset b4920d562b74e909bfae71bf119350a01d1d5e5e by Victor Stinner in branch '2.7': bpo-31593: test_socketserver waits child processes (#3786) https://github.com/python/cpython/commit/b4920d562b74e909bfae71bf119350a01d1d5e5e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:52 | admin | set | github: 75774 |
| 2017年09月27日 10:24:21 | vstinner | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2017年09月27日 10:03:01 | vstinner | set | messages: + msg303120 |
| 2017年09月27日 09:32:09 | vstinner | set | pull_requests: + pull_request3771 |
| 2017年09月27日 09:21:15 | vstinner | set | messages: + msg303115 |
| 2017年09月26日 13:49:59 | vstinner | set | keywords:
+ patch stage: patch review pull_requests: + pull_request3751 |
| 2017年09月26日 13:49:44 | vstinner | set | title: test_socketserver ForkingMixIn tests leaks child processes -> [2.7][3.6] test_socketserver ForkingMixIn tests leaks child processes on Python 3.6 versions: + Python 2.7 |
| 2017年09月26日 13:47:40 | vstinner | create | |