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 ← 추가
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
13 | AutoSet PHP 버전 업그레이드 (7.2.10 to 7.4.32) | 황제낙엽 | 2022.10.09 | 639 |
12 | [Bitnami WAMP] 설치후 PHP 설정 | 황제낙엽 | 2020.07.23 | 206 |
11 |
Autoset의 대안 Bitnami WAMP
![]() | 황제낙엽 | 2020.04.01 | 244 |
10 | [AutoSet] SSL 적용가이드 (https) | 황제낙엽 | 2019.04.22 | 542 |
9 | Apache2.4 성능 개선 (아파치 공식사이트 제공) | 황제낙엽 | 2018.09.18 | 198 |
8 |
[AutoSet] 오토셋 소개 및 설치파일
![]() | 황제낙엽 | 2018.08.25 | 826 |
7 |
[APMSETUP] 설치파일
![]() | 황제낙엽 | 2018.08.25 | 829 |
6 | [APMSETUP] 에서 root 암호 분실시 초기화 방법 | 황제낙엽 | 2017.04.06 | 2499 |
5 | Database Extensions 추상 레이어 PDO 설치/설정 | 황제낙엽 | 2016.07.27 | 510 |
» | Apache Error : winnt_accept: Asynchronous AcceptEx failed | 황제낙엽 | 2016.06.15 | 592 |
3 | Windows에서 Apache(2.2.25)/PHP(5.4)/MYSQL(5.6.24) 설치 | 황제낙엽 | 2015.05.16 | 703 |
2 |
[APMSETUP7] PHP version upgrade (php5.2->php5.4)
![]() | 황제낙엽 | 2015.05.16 | 1251 |
1 |
현재 서버 셋팅 (Win APM : Windows + Apache + PHP + MySQL)
![]() | 황제낙엽 | 2006.03.21 | 240 |