Tomsk Sysadmins Forum
Windows => Разное => Topic started by: Emigranto on October 02, 2007, 23:19:21
-
Конфигурация следующая:
Apache/2.0.59 (Win32) PHP/5.2.3
Системы:
windows2k pro sp4
windows2k3 sp1
Проблема:
Еррор лог апача забит сообщениями типа
[Tue Oct 02 22:44:50 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:45:22 2007] [warn] (OS 121)Превышен таймаут семафора. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:45:56 2007] [warn] (OS 121)Превышен таймаут семафора. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:46:49 2007] [warn] (OS 121)Превышен таймаут семафора. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:46:53 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:47:09 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:47:09 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:48:30 2007] [warn] (OS 121)Превышен таймаут семафора. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:48:30 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept: Asynchronous AcceptEx failed.
[Tue Oct 02 22:49:16 2007] [warn] (OS 64)Указанное сетевое имя более недоступно. : winnt_accept:
Данное поведение иногда приводит к полному завосинаю коммпьютера(используется вся оператива растет использование виртуальной памяти, грузит проц).
Как такое лечится.
ЗЫ: в гугл не посылать, в яндекс тоже.
-
И чем это вам Гугль не угодил?!
А ведь там все есть!
Вот вам, лентяй!
name is no
longer available. : winnt_accept: Asynchronous AcceptEx failed.
[Sun Oct 16 03:32:05 2005] [warn] (OS 121)The semaphore timeout period has
expired. : winnt_accept: Asynchronous AcceptEx failed.
There are no specific know cause to this error. Initially it’s speculated that firewall and antivirus utility caused the error, but even after you disable antivirus software and firewall, the error will still occurs. Now, most relates the problem to the DHCP lease negotiation, due to an enhancement request to handle dynamic IP assignment, of which Apache doesn’t handle IP transitions in that way.
According to Apache documentation, 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().
The resolution to the above problem is to disable the use of AcceptEx by using Win32DisableAcceptEx directive. Win32DisableAcceptEx only available in Apache version 2.0.49 and later version though.
Win32DisableAcceptEx directive should be place in httpd.conf configuration file. If you are using distribution from apachefriend’s xampp, the directive should be placed at httpd.conf file too, and not the httpd-mpm configuration file. The directive can be placed together with the line of #EnableMMAP off and #EnableSendfile off in httpd.conf.
If you still facing issue after enable the Win32DisableAcceptEx directive, try to uncomment (disable) the EnableMMAP and EnableSendfile directive. The line should looks like this:
EnableMMAP off
EnableSendfile off
Win32DisableAcceptEx
Note: I found that enable Win32DisableAcceptEx directive cause Apache running on Windows XP to crash frequently. So it’s possibe to try to just turn off (uncomment) EnableMMAP and EnableSendfile without Win32DisableAcceptEx for stability issue, although it doesn’t guarantee reliability of Apache web server.
-
И чем это вам Гугль не угодил?!
А ведь там все есть!
Вот вам, лентяй!
В гугле в основном находил форумы с описанием подобной проблемы. В них было два пути ставить денвер и ставить апач1,3