免费注册 查看新帖 |

Chinaunix

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

[Web] [配置] apache服务器报child process 21338 still did not exit, sending a SIGTERM [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-19 10:27 |只看该作者 |倒序浏览
OS:RedHat AS3.0
Apache:2.0.46
Mem:3G
CPU:1颗至强3.2G

看日志经常出现如下问题:哪位有类似经验帮忙看看!谢谢

Fri Jul 14 21:57:00 2006] [warn] WARNING: Attempt to change ServerLimit or ThreadLimit ignored during restart
[Fri Jul 14 21:57:00 2006] [notice] Apache/2.0.46 (Unix) mod_jk/1.2.10 configured -- resuming normal operations
[Fri Jul 14 23:16:32 2006] [notice] SIGHUP received.  Attempting to restart
WARNING: MaxClients of 28800 would require 900 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 16.  To increase,
please see the ServerLimit directive.
[Fri Jul 14 23:16:32 2006] [warn] WARNING: Attempt to change ServerLimit or ThreadLimit ignored during restart
[Fri Jul 14 23:16:32 2006] [notice] Apache/2.0.46 (Unix) mod_jk/1.2.10 configured -- resuming normal operations
[Fri Jul 14 23:47:40 2006] [notice] caught SIGTERM, shutting down
[Sat Jul 15 10:00:45 2006] [notice] Apache/2.0.46 (Unix) mod_jk/1.2.10 configured -- resuming normal operations
[Sat Jul 15 13:47:29 2006] [warn] child process 21338 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:29 2006] [warn] child process 21301 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:29 2006] [warn] child process 21338 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:29 2006] [warn] child process 21301 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:30 2006] [warn] child process 21338 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:30 2006] [warn] child process 21301 still did not exit, sending a SIGTERM
[Sat Jul 15 13:47:34 2006] [error] child process 21301 still did not exit, sending a SIGKILL

[ 本帖最后由 HonestQiao 于 2006-7-24 10:53 编辑 ]

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
2 [报告]
发表于 2006-07-19 10:42 |只看该作者
看手册的mpm配置的不分,他们之间是有一定的倍数和限制关系的。

http://w.yi.org/ftp/FAPM/apache/Apache2/zh/mod/prefork.html

论坛徽章:
0
3 [报告]
发表于 2006-07-19 13:22 |只看该作者

回复 2楼 HonestQiao 的帖子

谢谢乔版,我的MPM用的是worker,配置如下:
<IfModule worker.c>
        ServerLimit         600
        StartServers        10
        MaxClients          19200
        MinSpareThreads     25
        MaxSpareThreads     75
        ThreadsPerChild     32
</IfModule>
我看过手册,感觉其中的关系就是MaxClients = Serverlimit*ThreadPerChild
还有其他关系吗?望指点!

论坛徽章:
0
4 [报告]
发表于 2006-07-21 00:19 |只看该作者
是不是因为maxclients设置的太高了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP