免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7201 | 回复: 8
打印 上一主题 下一主题

[Web] apache宕机请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-24 13:31 |只看该作者 |倒序浏览
最近公司前端有部分web服务器的apache不定时的宕机,error_log里出现大量的抛错:
注:查看了访问日志很正常,error_log里没有发现memory耗尽的提示,message也没有异常
[warn] child process 14582 still did not exit, sending a SIGTERM
[warn] child process 14085 still did not exit, sending a SIGTERM
[warn] child process 14384 still did not exit, sending a SIGTERM
[warn] child process 14672 still did not exit, sending a SIGTERM
[warn] child process 14401 still did not exit, sending a SIGTERM
[warn] child process 14407 still did not exit, sending a SIGTERM
[warn] child process 14447 still did not exit, sending a SIGTERM
[warn] child process 14629 still did not exit, sending a SIGTERM
[warn] child process 14725 still did not exit, sending a SIGTERM
[warn] child process 14729 still did not exit, sending a SIGTERM
[warn] child process 14582 still did not exit, sending a SIGTERM
[warn] child process 14085 still did not exit, sending a SIGTERM
[warn] child process 14384 still did not exit, sending a SIGTERM
[warn] child process 14401 still did not exit, sending a SIGTERM
[warn] child process 14407 still did not exit, sending a SIGTERM
[warn] child process 14447 still did not exit, sending a SIGTERM
[warn] child process 14629 still did not exit, sending a SIGTERM
[warn] child process 14725 still did not exit, sending a SIGTERM
[warn] child process 14729 still did not exit, sending a SIGTERM
[warn] child process 14582 still did not exit, sending a SIGTERM
[warn] child process 14085 still did not exit, sending a SIGTERM
[warn] child process 14384 still did not exit, sending a SIGTERM
[warn] child process 14401 still did not exit, sending a SIGTERM
[warn] child process 14407 still did not exit, sending a SIGTERM
[warn] child process 14447 still did not exit, sending a SIGTERM
[warn] child process 14629 still did not exit, sending a SIGTERM
[warn] child process 14725 still did not exit, sending a SIGTERM
[warn] child process 14729 still did not exit, sending a SIGTERM
[error] child process 14582 still did not exit, sending a SIGKILL
[error] child process 14085 still did not exit, sending a SIGKILL
[error] child process 14384 still did not exit, sending a SIGKILL
[error] child process 14401 still did not exit, sending a SIGKILL
[error] child process 14407 still did not exit, sending a SIGKILL
[error] child process 14447 still did not exit, sending a SIGKILL
[error] child process 14629 still did not exit, sending a SIGKILL
[error] child process 14725 still did not exit, sending a SIGKILL
[error] child process 14729 still did not exit, sending a SIGKILL
[notice] caught SIGTERM, shutting down
然后apache就down掉了,无法正常访问,服务器上的监测和重启apache的脚本没有发挥作用
只有手动去重启apache才能恢复正常
在cu上search了好多帖子,没有找到产生这种情况的原因和解决方法

论坛徽章:
0
2 [报告]
发表于 2007-10-24 16:10 |只看该作者
看日志是,你的 apache 的子进程无法正常终止,所以资源耗尽就 down 机了

论坛徽章:
0
3 [报告]
发表于 2007-10-24 17:43 |只看该作者
apache产生的日志文件有多大?

论坛徽章:
0
4 [报告]
发表于 2007-10-24 18:48 |只看该作者
出现down机的时候,服务器负载很大,郁闷的是负载大的时候,服务器的监控重启脚本不能正常生效,在此之前,一直运行很正常的

日志文件没有很大了,错误日志是每天分析然后清空的,access访问日志是同步到日志服务器去分析的

论坛徽章:
0
5 [报告]
发表于 2007-10-24 22:17 |只看该作者
方便的話,把 httpd.conf 貼過來

论坛徽章:
0
6 [报告]
发表于 2007-10-25 14:12 |只看该作者
具休环境是怎么样的?使用了哪些模块?

论坛徽章:
0
7 [报告]
发表于 2007-10-25 16:17 |只看该作者
as4  apache2.2.4 .php 4.4.7 ,apache使用了expires,mod_evasive,差不多就这样
昨天晚上修改了一下监控脚本,在stop后面加了个kill,然后再start,貌似正常了,今天又出问题了,监控脚本无法stop,也无法kill,ps出现很多僵死的httpd进程。。。。

论坛徽章:
0
8 [报告]
发表于 2009-03-02 10:34 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
9 [报告]
发表于 2009-03-02 10:46 |只看该作者
可能是apache的日志文件达到2G了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP