AH00287 AH00286 raising the MaxRequestWorkers setting
에러로그
AH00287: server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting
AH00286: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
조치사항
<IfModule mpm_worker_module> ServerLimit 64 StartServers 64 MinSpareThreads 32 MaxSpareThreads 64 ThreadsPerChild 25 MaxRequestWorkers 500 MaxConnectionsPerChild 0 </IfModule>
주의사항
MaxRequestWorkers 설정값을 올려줘야 하는데
그냥 무심코 올리면 이런식으로 경고가 발생한다
AH00316: WARNING: MaxRequestWorkers of 512 is not an integer multiple of
ThreadsPerChild of 25, decreasing to nearest multiple 500,
for a maximum of 20 servers.
AH00318: WARNING: MaxRequestWorkers of 500 would require 20 servers and
would exceed ServerLimit of 16, decreasing to 400.
To increase, please see the ServerLimit directive.
AH00316 : ThreadsPerChild 수치의 배수가 되게끔 설정해라
AH00318 : MaxRequestWorkers의 수치를 ThreadsPerChild의 수치로 나눈 몫이 ServerLimit의 수치보다 높아서는 안된다
ServerLimit 를 따로 설정하지 않은 경우 기본값 : 16