Mic*_*art 7 php openshift openshift-cartridge
我在Openshift上有一个可扩展的PHP 5.4盒式磁带,带有一个青铜帐户.这是一个wordpress博客,我已经使用它直到2周前.
今天,我回来参观了它,它说:
503服务不可用.没有服务器可用于处理此请求.
为了检查代理状态,我访问了这个链接http://myapp-mydomain.rhcloud.com/haproxy-status,我看到了这个:

好像DOWN.
使用rhc tail检查日志我看到这一行:
==> app-root/logs/haproxy.log <==
[ALERT] 077/194638 (138628) : proxy 'express' has no server available!
[WARNING] 086/161237 (138628) : Server express/local-gear is DOWN for maintenance.
[WARNING] 086/161239 (33522) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 086/161239 (33522) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 086/161239 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 65ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 086/161239 (33522) : proxy 'express' has no server available!
[WARNING] 086/161240 (33522) : Server express/local-gear is DOWN for maintenance.
[WARNING] 086/161323 (33522) : Server express/local-gear is UP (leaving maintenance).
[WARNING] 086/161325 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 237ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 086/161325 (33522) : proxy 'express' has no server available!
Run Code Online (Sandbox Code Playgroud)
我也尝试使用openshift"重启"按钮重启应用程序,但它没有用.
不知道该怎么解决.任何的想法?
提前致谢
小智 0
您的免费 OpenShift 齿轮由未使用的处理/带宽功率来处理。如果目前没有服务器可用于运行您的应用程序的 gears,则发出的请求将被拒绝,并显示“503 服务不可用:没有服务器可用于处理此请求”。
如果您想确保应用程序的正常运行时间,请使用付费装备。