Patrick-Dussault

Apache :: Fix Error : winnt_accept: Asynchronous AcceptEx failed

Discussion created by Patrick-Dussault Employee on Aug 25, 2014
Latest reply on Jan 9, 2017 by Mark.ODonohue

Running SPS, we often see the error :

 

[warn] (OS 64)The specified network name is no longer available.  :
winnt_accept: Asynchronous AcceptEx failed.

 

How can we solve this ?


By running  SPS 12.51CR00 with JDK 1.7.0_40 32bit on Windows 2008 R2 which includes Apache 2.2.22 :

 

Apache documentation suggests that this error can be solved by setting parameter :

 

Win32DisableAcceptEx

 

By default, Apache 2.2 is using AcceptEx.

http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html

 

Set also in Apache configuration

EnableSendfile Off
EnableMMAP off

 

If you run Apache 2.4, Win32DisableAcceptEx has been replaced by AcceptFilter, and you can also solve this with the following configuration :

      AcceptFilter https none
      AcceptFilter http none
      EnableSendfile Off
      EnableMMAP off

 

By default, Apache 2.2 delivers :

      EnableSendfile On
      EnableMMAP On

 

AcceptFilter is supported on Windows for Apache 2.4 as per documentation :

http://httpd.apache.org/docs/2.2/mod/core.html

See the note of the same description for AcceptFilter in the Apache 2.4 documentation :

http://httpd.apache.org/docs/current/mod/core.html

and default values are :

AcceptFilter http data
AcceptFilter https data

Outcomes