Hi,
I have an application written in Django and we are using Apache + mod_wsgi
combination for the server. Intermittently, we notice high Load Average
(monitored using htop) and the application freezes. We are using daemon
mode in wsgi. I have played around with the number of processes and number
of threads configuration but have not been able to zero in. The application
usage is mostly on Django admin and there are 25-30 concurrent users on it.
I don't see any issue on the memory front but the CPU runs at 100% when we
notice the slowness. It is not like the queries are poorly written as the
same requests take 400-500 milliseconds to complete when the server is
running fine.
Not sure what is going wrong. Could you please guide?
Here is the configuration
<VirtualHost *:80>
WSGIScriptAlias / /var/www/bigstylist/wsgi.py
DocumentRoot /var/www/bigstylist
ServerName tools.bigstylist.com
Alias /static /var/www/bigstylist/GUI/static/
WSGIDaemonProcess bigstylist processes=5 threads=5 display-name=%{GROUP}
python-path=/var/www/bigstylist
WSGIProcessGroup bigstylist
<Directory /var/www/bigstylist/>
Require all granted
</Directory>
</VirtualHost>
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.