[New-bugs-announce] [issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()
STINNER Victor
report at bugs.python.org
Fri Aug 18 12:24:59 EDT 2017
New submission from STINNER Victor:
test_logging has a race condition: sometimes, it leaks dangling threads on FreeBSD: bpo-30830.
I identified the root issue: socketserver.ThreadingMixIn spawns threads without waiting for their completion in server_close(). This issue is very similar to socketserver.ForkingMixIn which leaks child processes and so create zombie processes. See bpo-31151.
----------
components: Library (Lib)
messages: 300514
nosy: haypo
priority: normal
severity: normal
status: open
title: socketserver.ThreadingMixIn leaks running threads after server_close()
type: resource usage
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31233>
_______________________________________
More information about the New-bugs-announce
mailing list