apache "AcceptEx failed." error

apache "AcceptEx failed." error


指定网络名称不可用
The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

An operation was attempted on something that is not a socket.:winnt_accept: AcceptEx failed. Attempting to recover.

出现这样的问题,解决方法是:禁止使用AcceptEx,方法为在httpd.conf文件中增加Win32DisableAcceptEx标记,例如:
       <IfModule mpm_winnt.c>
       ..........
             Win32DisableAcceptEx
       .........
       </IfModule>
虽然这样会使性能降低一些.
from apache docs2.0:
AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of
the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus
scanning or virtual private network packages, have bugs that interfere with the proper operation of
AcceptEx(). If you encounter an error condition like:
[error] (730038)An operation was attempted on something that is not a socket.: winnt_accept: AcceptEx
failed. Attempting to recover.
you should use this directive to disable the use of AcceptEx().

你可能感兴趣的:(apache "AcceptEx failed." error)