Skip to content Skip to sidebar Skip to footer

Memory Leak In Python Twisted: Where Is It?

I have a Twisted server under load. When the server is under load, memory usage increases, and it is never reclaimed (even when there are no more clients). Next time it goes into h

Solution 1:

If the code is only leaking under load (did you verify this?), I'd have a look at all spots where messages are buffered. Does the memory usage of the process itself increase? Or does the memory use of the system increase? If it's the latter case, your server might simply be too slow to keep up with the incoming messages and the OS buffer fill up..


Post a Comment for "Memory Leak In Python Twisted: Where Is It?"