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

번호 제목 글쓴이 날짜 조회 수
73 [ChatGPT] nginx 에서 jetty 서버로 프록시중 "org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI" 오류 황제낙엽 2024.11.12 1291
72 [phind] jetty 와 tomcat 의 차이점 (성능, 사용성, 선호도) 황제낙엽 2024.10.31 1438
71 jsp 에서 <script> 로 import 한 js 내의 한글이 깨진다 file 황제낙엽 2024.07.14 1481
70 Nginx: 413 – Request Entity Too Large file 황제낙엽 2024.02.17 1187
69 nginx 설치, 실행, SSL 설정, 프록시 설정 황제낙엽 2024.02.04 962
68 [bard] Nginx로 서브 도메인에 따라 내부의 포트만 다르게 실행중인 웹서버들을 라우팅 황제낙엽 2024.02.01 962
67 [Bing] "Apache"와 "Nginx" 의 차이점 황제낙엽 2024.01.31 1055
66 Nginx 에 대하여 황제낙엽 2024.01.18 892
65 "org.apache.tomcat.util.net.SecureNioChannel.getSslEngine()" is null 황제낙엽 2023.06.22 2956
64 windows tomcat 에 Let's Encrypt(SSL) 적용 황제낙엽 2023.06.21 1093
63 AutoSet PHP 버전 업그레이드 (7.2.10 to 7.4.32) 황제낙엽 2022.10.09 1542
62 401 - Unauthorized: Access is denied due to invalid credentials 황제낙엽 2021.08.27 1387
61 iis error - Service Unavailable / HTTP Error 503. The service is unavailable. 황제낙엽 2020.09.23 1739
60 [Bitnami WAMP] 설치후 PHP 설정 황제낙엽 2020.07.23 1631
59 Autoset의 대안 Bitnami WAMP file 황제낙엽 2020.04.01 1034
58 HTTP 오류 403.14 - Forbidden file 황제낙엽 2020.03.04 964
57 바인딩 편집 (사이트 바인딩) file 황제낙엽 2020.03.04 1021
56 웹사이트에서 여러 도메인을 사용하는 방법 황제낙엽 2020.03.04 1387
55 32비트 응용 프로그램 사용 (ASP, C#) file 황제낙엽 2019.10.31 3056
54 [Tomcat 7] org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 황제낙엽 2019.10.16 1231