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   ← 추가

번호 제목 글쓴이 날짜 조회 수
50 [AutoSet] SSL 적용가이드 (https) 황제낙엽 2019.04.22 338
49 SSL, Https를 위한 인증서 발급 황제낙엽 2019.02.20 72
48 Apache2.4 성능 개선 (아파치 공식사이트 제공) 황제낙엽 2018.09.18 70
47 [AutoSet] 오토셋 소개 및 설치파일 file 황제낙엽 2018.08.25 570
46 [APMSETUP] 설치파일 file 황제낙엽 2018.08.25 588
45 톰캣 한글 깨짐, UTF-8 인코딩 설정[2] file 황제낙엽 2018.08.23 1031
44 톰캣 한글 깨짐, UTF-8 인코딩 설정[1] [1] file 황제낙엽 2018.08.23 3375
43 이클립스는 괜찮은데 톰캣에서만 한글깨짐 (윈도우 콘솔의 다국어 인코딩 포함) file 황제낙엽 2018.08.23 2973
42 캐시 여유 공간 부족 (insufficient free space) 해결 황제낙엽 2018.03.16 4258
41 무설치 포터블(portable) 톰캣을 윈도우 서비스로 등록하기 황제낙엽 2017.11.07 343
40 [APMSETUP] 에서 root 암호 분실시 초기화 방법 황제낙엽 2017.04.06 2303
39 구버전의 톰캣 실행하기 황제낙엽 2017.03.22 138
38 Tomcat 8에 SSL 인증서를 적용 황제낙엽 2016.12.23 1485
37 Database Extensions 추상 레이어 PDO 설치/설정 황제낙엽 2016.07.27 274
» Apache Error : winnt_accept: Asynchronous AcceptEx failed 황제낙엽 2016.06.15 464
35 Windows에서 Apache(2.2.25)/PHP(5.4)/MYSQL(5.6.24) 설치 황제낙엽 2015.05.16 599
34 [APMSETUP7] PHP version upgrade (php5.2->php5.4) file 황제낙엽 2015.05.16 1031
33 Server.xml 에 Context 추가 황제낙엽 2012.09.19 99
32 아파치 ETag 이용한 정적파일 최적화 file 황제낙엽 2012.05.30 1151
31 톰캣 메모리 확장 시키기 file 황제낙엽 2012.02.01 254