I have a wsgi application configured as follows:
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess myapp user=myuser threads=10 maximum-requests=10000
WSGIScriptAlias / /usr/local/myapp/wsgi.py
WSGIProcessGroup myapp
I expected to see running processes for my app... but with ps aux
or pstree
I see no child processes:
init─┬─apache2─┬─apache2
│ ├─2*[apache2───26*[{apache2}]]
│ ├─apache2───14*[{apache2}]
│ ├─apache2───12*[{apache2}]
│ └─apache2───16*[{apache2}]
Is my wsgi executing in daemon mode? How can I inspect the health of my python process?
I'm trying to debug my wsgi python application which hangs (sometimes with a memory fault) when a lot of connections are requested at the same time (say: 30 consecutive ajax requests from a single web page).