I'm using Debian, Apache and mod_wsgi to run a Django application. One of the apache child processes is using lots of CPU. I need to find out what's causing it. Is there anyway to see, given a apache child PID, what python code is being run? Sorta like strace for python/mod_wsgi? However I'm trying to debug a live system, so I can't make any changes to the apache/mod_wsgi/django set up.
Asked
Active
Viewed 307 times