+ -
当前位置:首页 → 问答吧 → Apache 子进程每分钟重启一次,是否正常?

Apache 子进程每分钟重启一次,是否正常?

时间:2008-07-18

来源:互联网

Windows2003
Apache 2.2 + Rewrite  + PHP 5.0 + Mysql

Apache 子进程每分钟重启一次,是否正常?

Apache 启动后有两个进程,其中有一个进程,每分钟自动重启一次.
在ErrorLog中也没有看到错误信息.
基本设置
ThreadsPerChild 220
MaxRequestsPerChild  6000


曾经试着将这两个参数加大或减少,但还是每分钟重启一次.
这种重启现象对WEB的服务没有影响.(至少我没看到影响)

当前网站的PV 每分钟约为800次.

以下是Apache的日志
[Fri Jul 18 03:36:05 2008] [notice] Parent: child process exited with status 1 -- Restarting.
[Fri Jul 18 03:36:05 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.4 configured -- resuming normal operations
[Fri Jul 18 03:36:05 2008] [notice] Server built: Jan  9 2007 23:17:20
[Fri Jul 18 03:36:05 2008] [notice] Parent: Created child process 37316
[Fri Jul 18 03:36:05 2008] [notice] Disabled use of AcceptEx() WinSock2 API
[Fri Jul 18 03:36:05 2008] [notice] Child 37316: Child process is running
[Fri Jul 18 03:36:05 2008] [notice] Child 37316: Acquired the start mutex.
[Fri Jul 18 03:36:05 2008] [notice] Child 37316: Starting 220 worker threads.
[Fri Jul 18 03:36:05 2008] [notice] Child 37316: Listening on port 80.


请问这种情况是否正常?
关于每分钟进程重启一次,是否有参数可以设置?

作者: alan911   发布时间: 2008-07-18

热门下载

更多