小编典典

Ubuntu apache 错误服务器达到 MaxRequestWorkers 增加到 1024

php

需要帮助解决我的 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 不能解决这个问题,请帮助我出错的地方。


阅读 172

收藏
2022-07-25

共1个答案

小编典典

对于那些发现这个问题的人来说,该MaxRequestWorkers值应该是equalless大于 的值ServerLimit

2022-07-25