当前位置: 代码迷 >> PHP >> Apache假死,Apache维护,多谢
  详细解决方案

Apache假死,Apache维护,多谢

热度:578   发布时间:2012-04-08 14:38:30.0
Apache假死,Apache维护,高手请进,谢谢
前几天,Apache还是每隔1天死一次,我一直在尝试解决,可这两天,每隔一个小时就死一次,如果在他死后,我不在进程中手动结束掉httpd.exe,便会出现下面的log:
HTML code

......
[Sun Aug 16 09:20:45 2009] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun Aug 16 09:20:45 2009] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Sun Aug 16 09:20:45 2009] [notice] Server built: Jan  9 2007 23:17:20
[Sun Aug 16 09:20:45 2009] [notice] Parent: Created child process 176
[Sun Aug 16 09:20:45 2009] [notice] Child 176: Child process is running
[Sun Aug 16 09:20:45 2009] [notice] Child 176: Acquired the start mutex.
[Sun Aug 16 09:20:45 2009] [notice] Child 176: Starting 64 worker threads.
[Sun Aug 16 09:20:45 2009] [notice] Child 176: Starting thread to listen on port 80.
[Sun Aug 16 09:22:42 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Aug 16 09:22:42 2009] [notice] Child 176: Exit event signaled. Child process is ending.
[Sun Aug 16 09:22:43 2009] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Sun Aug 16 09:22:43 2009] [notice] Server built: Jan  9 2007 23:17:20
[Sun Aug 16 09:22:43 2009] [notice] Parent: Created child process 948
[Sun Aug 16 09:22:43 2009] [warn] (OS 10038)在一个非套接字上尝试了一个操作。  : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Sun Aug 16 09:22:43 2009] [notice] Child 948: Child process is running
[Sun Aug 16 09:22:43 2009] [notice] Child 176: Released the start mutex
[Sun Aug 16 09:22:43 2009] [notice] Child 948: Acquired the start mutex.
[Sun Aug 16 09:22:43 2009] [notice] Child 948: Starting 64 worker threads.
[Sun Aug 16 09:22:43 2009] [notice] Child 948: Starting thread to listen on port 80.
[Sun Aug 16 09:22:44 2009] [notice] Child 176: Waiting for 64 worker threads to exit.
[Sun Aug 16 09:22:44 2009] [notice] Child 176: All worker threads have exited.
[Sun Aug 16 09:22:44 2009] [notice] Child 176: Child process is exiting
[Sun Aug 16 09:23:52 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Aug 16 09:23:52 2009] [notice] Child 948: Exit event signaled. Child process is ending.
[Sun Aug 16 09:23:53 2009] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Sun Aug 16 09:23:53 2009] [notice] Server built: Jan  9 2007 23:17:20
[Sun Aug 16 09:23:53 2009] [notice] Parent: Created child process 2976
[Sun Aug 16 09:23:53 2009] [notice] Child 2976: Child process is running
[Sun Aug 16 09:23:53 2009] [warn] (OS 10038)在一个非套接字上尝试了一个操作。  : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Sun Aug 16 09:23:53 2009] [notice] Child 948: Released the start mutex
[Sun Aug 16 09:23:53 2009] [notice] Child 2976: Acquired the start mutex.
[Sun Aug 16 09:23:53 2009] [notice] Child 2976: Starting 64 worker threads.
[Sun Aug 16 09:23:53 2009] [notice] Child 2976: Starting thread to listen on port 80.
[Sun Aug 16 09:23:54 2009] [notice] Child 948: Waiting for 64 worker threads to exit.
[Sun Aug 16 09:23:54 2009] [notice] Child 948: All worker threads have exited.
[Sun Aug 16 09:23:54 2009] [notice] Child 948: Child process is exiting
[Sun Aug 16 09:47:42 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Aug 16 09:47:42 2009] [notice] Child 2976: Exit event signaled. Child process is ending.
[Sun Aug 16 09:47:42 2009] [warn] (OS 10038)在一个非套接字上尝试了一个操作。  : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Sun Aug 16 09:47:42 2009] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Sun Aug 16 09:47:42 2009] [notice] Server built: Jan  9 2007 23:17:20
[Sun Aug 16 09:47:42 2009] [notice] Parent: Created child process 1776
[Sun Aug 16 09:47:43 2009] [notice] Child 1776: Child process is running
[Sun Aug 16 09:47:43 2009] [notice] Child 2976: Released the start mutex
[Sun Aug 16 09:47:43 2009] [notice] Child 1776: Acquired the start mutex.
[Sun Aug 16 09:47:43 2009] [notice] Child 1776: Starting 64 worker threads.
[Sun Aug 16 09:47:43 2009] [notice] Child 1776: Starting thread to listen on port 80.
[Sun Aug 16 09:47:44 2009] [notice] Child 2976: Waiting for 64 worker threads to exit.
[Sun Aug 16 09:47:44 2009] [notice] Child 2976: All worker threads have exited.
[Sun Aug 16 09:47:44 2009] [notice] Child 2976: Child process is exiting
[Sun Aug 16 10:40:44 2009] [notice] Parent: child process exited with status 1 -- Restarting.
[Sun Aug 16 10:40:45 2009] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations
[Sun Aug 16 10:40:45 2009] [notice] Server built: Jan  9 2007 23:17:20
[Sun Aug 16 10:40:45 2009] [notice] Parent: Created child process 632
[Sun Aug 16 10:40:45 2009] [notice] Child 632: Child process is running
[Sun Aug 16 10:40:45 2009] [notice] Child 632: Acquired the start mutex.
[Sun Aug 16 10:40:45 2009] [notice] Child 632: Starting 64 worker threads.
[Sun Aug 16 10:40:45 2009] [notice] Child 632: Starting thread to listen on port 80.
....

 
  相关解决方案