On Nov 11, 5:28 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
>
> As to know if deadlocked, probably only way is to use a WSGI
> middleware that tracks when requests entered and exited and if all
> entered but don't exit after some set timeout, that you try and dump
> stack traces for Python threads in Python code.
>
> So, anyone know how to dump traceback for Python threads in an
> application from Python code?

The "threads" middleware that's a part of 
http://pypi.python.org/pypi/repoze.debug/0.7
may help here (if only as an example).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to modwsgi@googlegroups.com
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to