需要帮助解决我的 apache 错误,
我从错误日志文件中得到这些错误
[Thu Jul 27 12:16:05.788246 2017] [mpm_prefork:notice] [pid 18180] AH00169: caught SIGTERM, shutting down
[Thu Jul 27 12:19:54.149332 2017] [mpm_prefork:error] [pid 19376] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
我的设置(mpm_prefork.conf):
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 1024
ServerLimit 256
MaxConnectionsPerChild 0
</IfModule>
增加 MaxRequestWorkers 不能解决这个问题,请帮助我出错的地方。
对于那些发现这个问题的人来说,该MaxRequestWorkers
值应该是equal
或less
大于 的值ServerLimit
。