你好計算器社區,阿帕奇 - 後隨機時間(富勒啓動Apache)
我有我的Apache服務器的一個大問題網站超時。
(現在我用谷歌翻譯的消息)
對於我還不知道,隨機有原因的,我的Apache2啓動服務器停止響應(錯誤500)。
我發現了一些問題發生時,在文件「error.log中」,我總能找到這一行:
[Mon Aug 14 18:42:39.917495 2017] [mpm_prefork:error] [pid 23163] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
在那之後,我曾要求更改值「MaxRequestWorkers」,但它沒有改變什麼,問題仍然存在。
我也注意到,一般而言,出現問題時,它是繼強烈要求吸Apache服務器(尤其是 最後,原力攻擊),這些日誌(access.log裏):
http://p.hexicans.eu/MMgRunkXQX
在文件「error.log中」,我也記錄了許多這樣的錯誤:
[Mon Aug 14 18:28:58.366861 2017] [core:warn] [pid 20916] AH00045: child process 22399 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366873 2017] [core:warn] [pid 20916] AH00045: child process 22401 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366883 2017] [core:warn] [pid 20916] AH00045: child process 22402 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366890 2017] [core:warn] [pid 20916] AH00045: child process 22425 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366898 2017] [core:warn] [pid 20916] AH00045: child process 22428 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366910 2017] [core:warn] [pid 20916] AH00045: child process 22451 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366923 2017] [core:warn] [pid 20916] AH00045: child process 22456 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366965 2017] [core:warn] [pid 20916] AH00045: child process 22460 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366981 2017] [core:warn] [pid 20916] AH00045: child process 22466 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366990 2017] [core:warn] [pid 20916] AH00045: child process 22468 still did not exit, sending a SIGTERM
[Mon Aug 14 18:28:58.366997 2017] [core:warn] [pid 20916] AH00045: child process 22469 still did not exit, sending a SIGTERM
我已經花了很多時間尋找一個解決方案,到目前爲止,我還沒有找到它,這就是爲什麼我是hea丁俊暉本次論壇^^
我actualy 「/etc/apache2/mods-enabled/mpm_prefork.conf」 文件:
<IfModule mpm_prefork_module>
ServerLimit 500
StartServers 10
MinSpareServers 10
MaxSpareServers 400
MaxRequestWorkers 256
MaxConnectionsPerChild 0
KeepAlive Off
</IfModule>
其他信息:
- 操作系統:Ubuntu的16.04.3 LTS
- 阿帕奇:阿帕奇/ 2.4.18(Ubuntu的)
- PHP:Zend引擎V3.0.0,版權所有(C)1998年至2017年
預先感謝您的幫助!
哼,沒有想法? ^^ – Luluwebmaster