[ 一日30分 인생승리의 학습법] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
2023.07.27 21:22
[ 一日30分 인생승리의 학습법] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
Apache가 소리소문없이 죽기 시작한다. 나는 mpm_winnt 를 사용한다.
에러는 The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
( 현재 Apache의 모듈을 확인하는 명령어는 httpd -l 또는 httpd -V )
1) httpd.conf 에서 아래부분을 주석 제거하고
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
2) httpd-mpm.conf 에서 Apache의 모듈에 맞는 ThreadsPerChild 값을 수정한다.
<IfModule mpm_winnt_module>
ThreadsPerChild 150
MaxRequestsPerChild 0
AcceptFilter http none
</IfModule>
참고 : http://httpd.apache.org/docs/2.4/mod/mpm_winnt.html
[출처] https://m.blog.naver.com/hipab84/221461161634
본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.

