We are hosting a web application with configuration as below:
Application: Apache 2.4 / Python 3.4 / Django 2.0
Database servers x 6 : 32 GB / 8 cores behind load balancer
Web servers x 6 : 4 GB / 2 cores behind load balancer
Setup is in AWS so we are using AWS-Elastic load balancer.
The application supports 2000 concurrent connections but failing for 2500 and beyond.
In load testing around 1800 requests are failing out of 3.5 lakh total requests.
In the apache error log we are seeing the error message as below ?
[Wed Jan 02 14:05:53.349209 2019] [wsgi:error] [pid 21559:tid 139722408036096] (11)Resource temporarily unavailable: [client 172.31.12.61:51748] mod_wsgi (pid=21559): Unable to connect to WSGI daemon process 'pe-ta-dev.knowdl.com' on '/run/httpd/wsgi.21472.0.1.sock' after multiple attempts as listener backlog limit was exceeded or the socket does not exist.
Any idea how we can resolve the issue ?
Regards
Mahesh
--
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 modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "modwsgi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/modwsgi/aIcET2VqJbA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to modwsgi+u...@googlegroups.com.
On 3 Jan 2019, at 5:26 pm, Mahesh Vernekar <mahesh....@gmail.com> wrote:Hi Graham,Thanks for your response. Find my answers as below:What is your current mod_wsgi configuration? We are using deamon process
How long is typical request response time? Min : 2 secs / Max : 15 secs
Are the requests high CPU activities, or I/O bound waiting on a backend service like a database? Though the application is connected to a backend mariadb database there are no high cpu activities. The CPU does reaches 50% during the tests.