- 论坛徽章:
- 0
|
本帖最后由 yylogo 于 2015-05-24 13:13 编辑
服务器运行一两天总会宕机一次,所有的请求都变成502,基本无法访问。
日志文件如下:- [Sat May 23 22:04:08 2015] [error] could not make child process 10557 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10559 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10569 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10570 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10571 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10574 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10575 exit, attempting to continue anyway
- [Sat May 23 22:04:08 2015] [error] could not make child process 10577 exit, attempting to continue anyway
复制代码 每次都是apache进程太多,现在的解决办法就是写了一段脚本,每隔四个小时重启一次apache。
有一劳永逸的办法吗? |
|