This article is now available in our new Knowledge Base: Apache 2.4 On Windows Having Random Locks
Applies To
Zend Server 9
Apache 2.4
Windows Server 2008 / 2012
Symptoms
Apache server experiences random locks and becomes unresponsive for long periods of time. This happens regardless of web traffic through Apache. You can then find numerous errors of these 2 types in the Apache error log:
Error type 1:
Error type 2:
Solution
To resolve the first error message, which is generally caused by a faulty program or driver inserting itself into the Windows network stack, the following lines needs to be added to the Apache's configuration file (located under Zend Server installation directory\Apache24\conf\httpd.conf):
AcceptFilter http none
This disables the accept filters for the HTTP and HTTPS protocols. More information on accept filters can be found on this page: AcceptFilter Directive
The second error message is caused by having insufficient I/O timeout for FastCGI. The solution would be to increase the timeout in Apache's configuration file (located under Zend Server installation directory\Apache24\conf\httpd.conf) by editing the following directive:
More information on the FastCGI I/O timeout can be found on this page: FcgidIOTimeout Directive
Restart Needed!
The last step is to restart Zend Server services, by using Start | All Programs | Zend Server | Support Tool | select "Restart" | click "Next" | click "Yes".
Thank you very much, I will let you know how I get on with these changes