突然间,我发现我的服务器上的apache被停止了! 我不知道我在apache error_log上find这两行的原因,不知道它们是否与发生的问题有关
[mpm_event:notice] [pid 1428:tid 139958315632512] AH00492: caught SIGWINCH, shutting down gracefully [core:warn] [pid 1428:tid 139958315632512] AH00045: child process 27440 still did not exit, sending a SIGTERM
我只是重新启动Apache,它的工作。但这是非常严重的是什么问题? 我可以设置Apache重启,如果没有提示失败(自动)
服务器是centos 7和apache 2.4和PHP 5.6和使用centos web面板预先感谢。
回答你的问题:是的,如果失败,你可以自动重启Apache。 在你的systemd单元文件中,你可以添加Restart=always
docs here: https : //www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=
当然,这不是一个解决scheme,而是面对这个问题。 你应该看看是什么导致Apacheclosures。