?> WDlinux官方论坛 - Powered by Discuz! Board Board logo

标题: [求助] lanmp隔断时间报502/504错误 [打印本页]

作者: mingwd    时间: 2012-9-28 23:01     标题: lanmp隔断时间报502/504错误

使用lanmp隔段时间报502/504错误,相隔的时间都很近,而且基本都是在凌晨的时候出现这个问题的,这个是我记录下来日志这个是一台服务器的
reboot apacheFri Sep  7 03:45:01 CST 2012
reboot apache
Tue Sep 18 03:30:01 CST 2012
reboot apache
Fri Sep 28 03:30:02 CST 2012
reboot apache

第二台的
Sat Sep 15 03:30:01 CST 2012
reboot apache
Thu Sep 27 03:46:35 CST 2012
reboot apache

第三台的
Mon Sep 10 03:45:01 CST 2012
reboot apache
Tue Sep 18 03:45:02 CST 2012
reboot apache
Wed Sep 26 03:30:02 CST 2012
reboot apache

这个是重启apache的记录,时间非常奇怪.
作者: mingwd    时间: 2012-9-28 23:52

本帖最后由 mingwd 于 2012-9-28 23:54 编辑
  1. [Wed Sep 26 03:20:03 2012] [notice] SIGHUP received.  Attempting to restart
  2. [Wed Sep 26 03:20:03 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  3. [Wed Sep 26 03:20:03 2012] [notice] SIGHUP received.  Attempting to restart
  4. [Wed Sep 26 03:20:03 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  5. [Wed Sep 26 03:20:04 2012] [notice] SIGHUP received.  Attempting to restart
  6. [Wed Sep 26 03:20:04 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  7. [Wed Sep 26 03:20:04 2012] [notice] SIGHUP received.  Attempting to restart
  8. [Wed Sep 26 03:20:04 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  9. [Wed Sep 26 03:20:04 2012] [notice] SIGHUP received.  Attempting to restart
  10. [Wed Sep 26 03:20:04 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  11. [Wed Sep 26 03:20:04 2012] [notice] SIGHUP received.  Attempting to restart
  12. [Wed Sep 26 03:20:04 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  13. [Wed Sep 26 03:20:04 2012] [notice] SIGHUP received.  Attempting to restart
  14. [Wed Sep 26 03:20:05 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  15. [Wed Sep 26 03:20:05 2012] [notice] SIGHUP received.  Attempting to restart
  16. [Wed Sep 26 03:20:05 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  17. [Wed Sep 26 03:20:05 2012] [notice] SIGHUP received.  Attempting to restart
  18. [Wed Sep 26 03:20:05 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
  19. [Wed Sep 26 03:20:05 2012] [notice] SIGHUP received.  Attempting to restart
  20. [Wed Sep 26 03:20:05 2012] [notice] Apache/2.2.22 (Unix) PHP/5.2.17p1 configured -- resuming normal operations[Wed Sep 26 03:20:19 2012] [notice] seg fault or similar nasty error detected in the parent process
复制代码
查看apache错误,里面显示的是这个
作者: admin    时间: 2012-9-29 09:36

你上面的重起apache,是因为502/504了才重起apache

还是本身定期重起apache的功能?

如果是在重起apache的过程中,502/504,那是正常的
作者: mingwd    时间: 2012-9-29 10:22

回复 3# admin


   这个是在出现502/504后才重启的,因为用的crond +curl 隔段时间检测网站状态,检查到502/504才重启apache.
作者: admin    时间: 2012-9-29 10:50

看那个时间,都集中在3点多,是不是这个时间段有什么特别的东西在运行?
作者: mingwd    时间: 2012-9-29 11:12

回复 5# admin


   应该没有, 因为这个我都是装完系统后就装了LNAMP,其他都没动。计划任务里也没有。
作者: admin    时间: 2012-9-29 11:59

那真有点怪呀,几台机都在差不多的同一时间里这样




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2