sitelink1 http://cafe.naver.com/devmaster/182 
sitelink2 http://cafe.naver.com/hostingfaq/1022 
extra_vars5  
extra_vars6  

windows 용 apache에서 아래의 로그가 계속 떡어지면서 서비스 급격히 느려지는 현상이 나타난다.
 
error.log 내용
 
[warn] (OS 64)지정된 네트워크 이름을 더 이상 사용할 수 없습니다.  : winnt_accept: Asynchronous AcceptEx failed.

관련 내용을 찾아본 결과 AcceptEx는 MS 측에서 만들어 놓은 Network API인데 
이것이 MS의 멀티 프로세스 모듈과 어울어지면서 나타난 아파치 버그라고 합니다.
따라서 httpd.conf에 아래내용을 한줄 추가하여 그 기능을 disable 시키면 됩니다.

 

 

 

Problems :

아파치 logs/error.log를 보면 아래와 같은 메시지가 나타난다.


[Mon May 24 13:15:46 2010] [warn] (OS 64)지정된 네트워크 이름을 더 이상 사용할 수 없습니다.  : winnt_accept: Asynchronous AcceptEx failed.


이는 주로 윈도우 계열에서 Apache를 구동할 경우 발생하는 에러인 듯하다.


이경우 httpd.conf 파일을 열어 아래와 같이 수정을 해주면 해결이된다.

 

 

<변경전>


428.# EnableMMAP and EnableSendfile: On systems that support it,  

429.# memory-mapping or the sendfile syscall is used to deliver 

430.# files.  This usually improves server performance, but must 

431.# be turned off when serving from networked-mounted  

432.# filesystems or if support for these functions is otherwise 

433.# broken on your system. 

434.# 

435.#EnableMMAP off 

436.#EnableSendfile off

 

<변경 후>


428.# EnableMMAP and EnableSendfile: On systems that support it,  

429.# memory-mapping or the sendfile syscall is used to deliver 

430.# files.  This usually improves server performance, but must 

431.# be turned off when serving from networked-mounted  

432.# filesystems or if support for these functions is otherwise 

433.# broken on your system. 

434.# 

435.EnableMMAP off         ← # 주석 제거 

436.EnableSendfile off         ← # 주석 제거 

437.Win32DisableAcceptEx   ← 추가