apache 总是自动停止 求大师分析

ssslb132 2014-02-27 04:32:04
[Thu Feb 27 16:22:44 2014] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Feb 27 16:22:44 2014] [notice] Child 532: Exit event signaled. Child process is ending.
[Thu Feb 27 16:22:45 2014] [notice] Child 532: Released the start mutex
[Thu Feb 27 16:23:14 2014] [notice] Parent: Forcing termination of child process 492
[Thu Feb 27 16:23:35 2014] [notice] Apache/2.2.16 (Win32) PHP/5.2.14 configured -- resuming normal operations
[Thu Feb 27 16:23:35 2014] [notice] Server built: Jul 30 2010 16:15:37
[Thu Feb 27 16:23:35 2014] [notice] Parent: Created child process 3044
[Thu Feb 27 16:23:35 2014] [notice] Child 3044: Child process is running
[Thu Feb 27 16:23:35 2014] [notice] Child 3044: Acquired the start mutex.
[Thu Feb 27 16:23:35 2014] [notice] Child 3044: Starting 150 worker threads.
[Thu Feb 27 16:23:35 2014] [notice] Child 3044: Starting thread to listen on port 80.
[Thu Feb 27 16:26:09 2014] [warn] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
[Thu Feb 27 16:29:01 2014] [warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.
[Thu Feb 27 16:29:04 2014] [warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.
[Thu Feb 27 16:29:05 2014] [warn] (OS 64)指定的网络名不再可用。 : winnt_accept: Asynchronous AcceptEx failed.
...全文
346 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
嘻哈大咖秀 2014-02-28
  • 打赏
  • 举报
回复
[warn] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting请看警告 raising the ThreadsPerChild 提升线程数量 原因: 在httpd.conf中并没有设置线程数量,Apache默认开启了64个,看来是远远不够。于是上网一查,在httpd.conf加入以下内容: <IfModule mpm_winnt_module> ThreadsPerChild 512 MaxRequestsPerChild 0 </IfModule> 这样开启了512工作线程。这个值根据需要可能要慢慢调整 按照上面的修改进行httpd。conf文件的修改,然后重启服务器,可以正常访问,问题解决
jueduibing 2014-02-28
  • 打赏
  • 举报
回复
嗯 楼上美女正解,有可能是这个原因. 再有如果你又配置线程连接数. 还自动停止的话 就是你的内存不够用了.我之前也经常遇到这种情况.

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧