At least say if u run prefork of worker mpm.
We are using Apache as a front end for communication to a number of devices using TR69 (SOAP over HTTP). In order to resolve a problem with a particular device, I need to enable KeepAlive, but upon doing so I find that a number of our other devices drop connection to the server until they are rebooted. The reboot requirement is an acknowledge bug from the vendor, but I would like to resolve the problem with the device communication as it suggests capacity issues with our current configuration of Apache.
At present, with KeepAlive disabled, the command
netstat -plan|grep :80|wc -l
returns a value between 5000 and 5500. This drops dramatically if keepalive is enabled, to around 300 to 400.
At present, Apache is configured as:
MaxRequestsPerChild 0 #unlimited
The issue appears to be that when I enable KeepAlive with this configuration Apache intermittently stops accepting connections on the socket. We found that before changing the httpd.conf file (we raised the max clients and maxrequestsperchild variables) and enabling KeepAlive meant that I was intermittently unable to telnet into the server on port 80, suggesting a capacity issue.
I am wondering how high would be an acceptable limit for these values, and if anyone had any other ideas for what might be causing this.
Thanks in advance!
-- Simone Caruso IT Consultant +39 349 65 90 805