[New-bugs-announce] [issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()
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)
title: socketserver.ThreadingMixIn leaks running threads after server_close()
type: resource usage
versions: Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce