[issue37389] Memory Leak - ThreadingUDPServer

Daniel W Forsyth report at bugs.python.org
Mon Jun 24 10:53:55 EDT 2019


New submission from Daniel W Forsyth <danf at dataforge.on.ca>:

After putting a basic ThreadingUDPServer under load (500 messages per/second)  I noticed that after a night it was consuming a lot of RAM given it does nothing with the data.

On inception, I noticed the _thread count inside the server was growing forever even though the sub-threads are done.

Setup a basic ThreadingUDPSever with handler that does nothing and check the request_queue_size, it seems to grow without limit.

----------
components: Library (Lib)
messages: 346410
nosy: danf at dataforge.on.ca
priority: normal
severity: normal
status: open
title: Memory Leak - ThreadingUDPServer
type: performance
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37389>
_______________________________________


More information about the Python-bugs-list mailing list