Today we received an alert from our alert system that the website was down. 
I've read some topics in here related to this problem but I wanted to 
provide some information of my configuration, and also see if anyone has 
any more insight on this problem. I'm running the website using web2py 
2.8.2 and apache 2.2.15 with mod_wsgi 3.2. We've also got apache serving 
some PHP apps.

Here's the related error that appeared the time the website was down:

[Fri Feb 12 00:58:05 2016] [error] [client 195.159.183.42] Script timed out 
before returning headers: wsgihandler.py, referer: https://www.google.no

Then I also noticed this:

[Fri Feb 12 01:51:41 2016] [error] server reached MaxClients setting, 
consider raising the MaxClients setting
[Fri Feb 12 01:52:14 2016] [info] Initial (No.1) HTTPS request received for 
child 255 (server servername:443)

Not sure if the above is just symptomatic of the wsgihandler.py not 
returning requests. But it stopped at 255 so I'm guessing MaxClients is set 
at 256.

Here's the current apache config: 

WSGIDaemonProcess web2py user=webadmin group=webadmin processes=3 threads=5 
display-name=%{GROUP} maximum-requests=1000 

I'm going to next set the inactivity-timeout=600 to see if it can restart 
itself... if this problem occurs again. Any more insight on how to track 
down this issue is much appreciated.

Thanks.

-- 
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.

Reply via email to