有时它看起来像一个Plone站点的bin /实例启动失败。症状Plone bin /实例启动和bin /实例重启失败有时
该网站已经运行了一段时间没有维护
一个运行扩建:
bin/buildout
当一个人试图用
bin/instance start
或bin/instance restart
该网站重新启动网站没有开始。什么都不记录到控制台。
但是,如果运行
bin/instance fg
第一的网站确实开始
这影响的Plone 3.x和4.x版的Plone网站。
下面是一个过程如何进行的示例。你可以看到,该网站并没有真正启动,尽管给予重新开始,但最后还是想出了FG:
*************** /PICKED VERSIONS ***************
[email protected]:/srv/plone/zzz$ bin/instance restart
.
daemon process restarted, pid=27819
[email protected]:/srv/plone/zzz$ bin/instance start
daemon process started, pid=27945
[email protected]:/srv/plone/zzz$ bin/instance status
daemon manager not running
[email protected]:/srv/plone/zzz$ bin/instance fg
2013-03-08 04:18:11 INFO ZServer HTTP server started at Fri Mar 8 04:18:11 2013
Hostname: 0.0.0.0
Port: xxxx
从日志文件,它看起来像它已经达到了Zope的开始。虽然bin/instance状态或上游前端代理服务器都不同意。你在日志中看到这个。
2013-03-08T04:19:21 INFO Zope Ready to handle requests
任何想法如何进一步调试?
它可能是某种竞争条件/慢启动问题?
难道过程后Ready to handle
有其他人obeserved相同的行为默默地死去?
我们在这里看到类似的行为,并同意它似乎是某种时间问题。 再加上重启可能会崩溃(!),如果在此期间发生了新的扩展,我们已经决定使用'stop;睡2;开始'这对我们很好。 – 2013-03-08 06:50:26