MyException - 我的异常网
当前位置:我的异常网» Apache » !Apache间隔性的线程卡死,需重新启动,困惑很久不

!Apache间隔性的线程卡死,需重新启动,困惑很久不能解决

www.MyException.Cn  网友分享于:2015-08-26  浏览:731次
求助!Apache间隔性的线程卡死,需重新启动,困惑很久不能解决!
我的windows服务器运行java程序 安装的是apache 和jboss ,最近一段时间apache隔一段时间就卡死,需要重新启动,很郁闷
http.conf部分配置:
<IfModule mpm_winnt.c> 
  ThreadsPerChild 600 //这个参数变过好几次
  MaxRequestsPerChild 10000 //这个参数为 0 也不行
  Win32DisableAcceptEx  
</IfModule>
error.log错误信息:

XML code
[Mon Nov 08 12:57:24 2010] [notice] Child 5396: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Nov 08 12:57:24 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Nov 08 12:57:24 2010] [notice] Apache/2.2.11 (Win32) mod_jk/1.2.28 configured -- resuming normal operations
[Mon Nov 08 12:57:24 2010] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 08 12:57:24 2010] [notice] Parent: Created child process 6116
[Mon Nov 08 12:57:24 2010] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Nov 08 12:57:24 2010] [notice] Child 6116: Child process is running
[Mon Nov 08 12:57:25 2010] [notice] Child 5396: Released the start mutex
[Mon Nov 08 12:57:25 2010] [notice] Child 6116: Acquired the start mutex.
[Mon Nov 08 12:57:25 2010] [notice] Child 6116: Starting 600 worker threads.
[Mon Nov 08 12:57:25 2010] [notice] Child 6116: Listening on port 80.
[Mon Nov 08 12:57:55 2010] [notice] Child 5396: Waiting 270 more seconds for 3 worker threads to finish.
[Mon Nov 08 12:58:25 2010] [notice] Child 5396: Waiting 240 more seconds for 2 worker threads to finish.
[Mon Nov 08 12:58:51 2010] [notice] Child 5396: All worker threads have exited.
[Mon Nov 08 12:58:51 2010] [notice] Child 5396: Child process is exiting
[Mon Nov 08 13:14:06 2010] [notice] Child 6116: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Nov 08 13:14:06 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Nov 08 13:14:06 2010] [notice] Apache/2.2.11 (Win32) mod_jk/1.2.28 configured -- resuming normal operations
[Mon Nov 08 13:14:06 2010] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 08 13:14:06 2010] [notice] Parent: Created child process 2944
[Mon Nov 08 13:14:06 2010] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Nov 08 13:14:06 2010] [notice] Child 2944: Child process is running
[Mon Nov 08 13:14:07 2010] [notice] Child 6116: Released the start mutex
[Mon Nov 08 13:14:07 2010] [notice] Child 2944: Acquired the start mutex.
[Mon Nov 08 13:14:07 2010] [notice] Child 2944: Starting 600 worker threads.
[Mon Nov 08 13:14:07 2010] [notice] Child 2944: Listening on port 80.
[Mon Nov 08 13:14:07 2010] [notice] Child 6116: All worker threads have exited.
[Mon Nov 08 13:14:07 2010] [notice] Child 6116: Child process is exiting
[Mon Nov 08 13:24:35 2010] [notice] Child 2944: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Nov 08 13:24:35 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Nov 08 13:24:36 2010] [notice] Child 2944: Released the start mutex
[Mon Nov 08 13:24:37 2010] [notice] Apache/2.2.11 (Win32) mod_jk/1.2.28 configured -- resuming normal operations
[Mon Nov 08 13:24:37 2010] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 08 13:24:37 2010] [notice] Parent: Created child process 5756
[Mon Nov 08 13:24:38 2010] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Nov 08 13:24:38 2010] [notice] Child 5756: Child process is running
[Mon Nov 08 13:24:38 2010] [notice] Child 5756: Acquired the start mutex.
[Mon Nov 08 13:24:38 2010] [notice] Child 5756: Starting 600 worker threads.
[Mon Nov 08 13:24:38 2010] [notice] Child 5756: Listening on port 80.
[Mon Nov 08 13:24:42 2010] [notice] Child 2944: All worker threads have exited.
[Mon Nov 08 13:24:42 2010] [notice] Child 2944: Child process is exiting
[Mon Nov 08 13:33:57 2010] [notice] Child 5756: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Nov 08 13:33:57 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Nov 08 13:33:58 2010] [notice] Child 5756: Released the start mutex
[Mon Nov 08 13:34:00 2010] [notice] Apache/2.2.11 (Win32) mod_jk/1.2.28 configured -- resuming normal operations
[Mon Nov 08 13:34:00 2010] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 08 13:34:00 2010] [notice] Parent: Created child process 3872
[Mon Nov 08 13:34:01 2010] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Nov 08 13:34:01 2010] [notice] Child 3872: Child process is running
[Mon Nov 08 13:34:01 2010] [notice] Child 3872: Acquired the start mutex.
[Mon Nov 08 13:34:01 2010] [notice] Child 3872: Starting 600 worker threads.
[Mon Nov 08 13:34:01 2010] [notice] Child 3872: Listening on port 80.
[Mon Nov 08 13:34:01 2010] [notice] Child 5756: All worker threads have exited.
[Mon Nov 08 13:34:01 2010] [notice] Child 5756: Child process is exiting
[Mon Nov 08 13:43:41 2010] [notice] Child 3872: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Mon Nov 08 13:43:41 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Nov 08 13:43:42 2010] [notice] Child 3872: Released the start mutex
[Mon Nov 08 13:43:42 2010] [notice] Apache/2.2.11 (Win32) mod_jk/1.2.28 configured -- resuming normal operations
[Mon Nov 08 13:43:42 2010] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 08 13:43:42 2010] [notice] Parent: Created child process 6052
[Mon Nov 08 13:43:43 2010] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Nov 08 13:43:43 2010] [notice] Child 6052: Child process is running
[Mon Nov 08 13:43:43 2010] [notice] Child 6052: Acquired the start mutex.
[Mon Nov 08 13:43:43 2010] [notice] Child 6052: Starting 600 worker threads.
[Mon Nov 08 13:43:43 2010] [notice] Child 6052: Listening on port 80.
[Mon Nov 08 13:44:12 2010] [notice] Child 3872: Waiting 270 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:44:42 2010] [notice] Child 3872: Waiting 240 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:45:12 2010] [notice] Child 3872: Waiting 210 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:45:42 2010] [notice] Child 3872: Waiting 180 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:46:13 2010] [notice] Child 3872: Waiting 150 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:46:43 2010] [notice] Child 3872: Waiting 120 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:47:13 2010] [notice] Child 3872: Waiting 90 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:47:43 2010] [notice] Child 3872: Waiting 60 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:48:13 2010] [notice] Child 3872: Waiting 30 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:48:44 2010] [notice] Child 3872: Waiting 0 more seconds for 1 worker threads to finish.
[Mon Nov 08 13:48:44 2010] [notice] Child 3872: Terminating 1 threads that failed to exit.
[Mon Nov 08 13:48:44 2010] [notice] Child 3872: All worker threads have exited.
[Mon Nov 08 13:48:44 2010] [notice] Child 3872: Child process is exiting

文章评论

Java 与 .NET 的平台发展之争
Java 与 .NET 的平台发展之争
中美印日四国程序员比较
中美印日四国程序员比较
2013年中国软件开发者薪资调查报告
2013年中国软件开发者薪资调查报告
程序员周末都喜欢做什么?
程序员周末都喜欢做什么?
程序员的一天:一寸光阴一寸金
程序员的一天:一寸光阴一寸金
我跳槽是因为他们的显示器更大
我跳槽是因为他们的显示器更大
科技史上最臭名昭著的13大罪犯
科技史上最臭名昭著的13大罪犯
总结2014中国互联网十大段子
总结2014中国互联网十大段子
老美怎么看待阿里赴美上市
老美怎么看待阿里赴美上市
当下全球最炙手可热的八位少年创业者
当下全球最炙手可热的八位少年创业者
 程序员的样子
程序员的样子
什么才是优秀的用户界面设计
什么才是优秀的用户界面设计
做程序猿的老婆应该注意的一些事情
做程序猿的老婆应该注意的一些事情
我的丈夫是个程序员
我的丈夫是个程序员
程序员最害怕的5件事 你中招了吗?
程序员最害怕的5件事 你中招了吗?
10个调试和排错的小建议
10个调试和排错的小建议
要嫁就嫁程序猿—钱多话少死的早
要嫁就嫁程序猿—钱多话少死的早
看13位CEO、创始人和高管如何提高工作效率
看13位CEO、创始人和高管如何提高工作效率
Java程序员必看电影
Java程序员必看电影
程序猿的崛起——Growth Hacker
程序猿的崛起——Growth Hacker
编程语言是女人
编程语言是女人
亲爱的项目经理,我恨你
亲爱的项目经理,我恨你
程序员必看的十大电影
程序员必看的十大电影
60个开发者不容错过的免费资源库
60个开发者不容错过的免费资源库
程序员都该阅读的书
程序员都该阅读的书
为啥Android手机总会越用越慢?
为啥Android手机总会越用越慢?
Google伦敦新总部 犹如星级庄园
Google伦敦新总部 犹如星级庄园
不懂技术不要对懂技术的人说这很容易实现
不懂技术不要对懂技术的人说这很容易实现
鲜为人知的编程真相
鲜为人知的编程真相
2013年美国开发者薪资调查报告
2013年美国开发者薪资调查报告
初级 vs 高级开发者 哪个性价比更高?
初级 vs 高级开发者 哪个性价比更高?
程序员应该关注的一些事儿
程序员应该关注的一些事儿
程序员的鄙视链
程序员的鄙视链
如何区分一个程序员是“老手“还是“新手“?
如何区分一个程序员是“老手“还是“新手“?
10个帮程序员减压放松的网站
10个帮程序员减压放松的网站
我是如何打败拖延症的
我是如何打败拖延症的
如何成为一名黑客
如何成为一名黑客
漫画:程序员的工作
漫画:程序员的工作
“懒”出效率是程序员的美德
“懒”出效率是程序员的美德
5款最佳正则表达式编辑调试器
5款最佳正则表达式编辑调试器
那些性感的让人尖叫的程序员
那些性感的让人尖叫的程序员
十大编程算法助程序员走上高手之路
十大编程算法助程序员走上高手之路
程序员眼里IE浏览器是什么样的
程序员眼里IE浏览器是什么样的
老程序员的下场
老程序员的下场
程序员和编码员之间的区别
程序员和编码员之间的区别
一个程序员的时间管理
一个程序员的时间管理
写给自己也写给你 自己到底该何去何从
写给自己也写给你 自己到底该何去何从
Web开发人员为什么越来越懒了?
Web开发人员为什么越来越懒了?
每天工作4小时的程序员
每天工作4小时的程序员
软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有