Graham Dumpleton wrote: > 2009/11/12 chrism <chr...@plope.com>: >> >> 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). > > Hmmm, that package could be a good vehicle for the sort of statistics > accumulation I wanted to do for mod_wsgi for purposes of being able to > tune processes/threads being used. I started adding some raw > statistics accumulation in mod_wsgi itself, but simply don't have time > to do it properly so going to rip it back out for now so can get 3.0 > released. Rather than add it back in again in future that package > might be enhanced instead. I perhaps should talk to you separately > about what I saw as needed for what I have in mind.
Sure. It's a bit of a garbage barge, no debugging functionality is too big or too small for it, so anything goes. - C --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---