Multithreaded python program freezes
andrearo at pvv.ntnu.no
Sun Dec 20 17:36:07 CET 2009
I have some problems with a http proxy which is implemented
in Python 2.6. A few times a day, the proxy begins using 100% CPU
and doesn't work any more.
I have created a thread dump when the problem occurs here:
This is a thread dump during normal operation:
The source code can be found here:
The application is heavily multi-threaded, since its main function
is being a proxy converting packets containing C struct data to JSON
Any advice on why this Python program appears to freeze? Is there anything
more I can do to find out why this problem occurs?
More information about the Python-list