我运行一个PHP脚本,出了点问题(我还没有弄清楚)。 只是为了有一个新的开始。 我重新启动Apache,但在日志中我得到这个:
[Fri Dec 25 21:27:16 2009] [notice] Child 7584: Child process is running [Fri Dec 25 21:27:16 2009] [notice] Child 7584: Acquired the start mutex. [Fri Dec 25 21:27:16 2009] [notice] Child 7584: Starting 64 worker threads. [Fri Dec 25 21:27:16 2009] [notice] Child 7584: Starting thread to listen on port 9090. [Fri Dec 25 21:27:30 2009] [notice] Child 10048: Waiting 180 more seconds for 6 worker threads to finish.
首先,以上是什么意思?
其次,我如何让apache正确地重新启动,而不必等待任何subprocess。 我问这是因为,我发现我所做的一些新的PHP运行,只是挂起,我猜apache / php是为以前运行的东西wating?
谢谢大家,我真的很感谢上面的帮助。
我认为这属于serverfault,但无论如何:
日志消息听起来像你正在使用mpm_worker。 这可能不是一个好主意,如果你加载mod_php。
尝试切换到mpm_prefork,看看会发生什么。