我在jBoss Openshift可扩展应用程序中遇到了一些问题。它一直工作得很好,但是今天它是第一次尝试通过添加装备来扩大规模。除了haproxy.log之外,所有日志都很干净。
我根据此帖子Openshift Layer4 connection, App Won't Start更新了haproxy配置文件。它似乎解决了这个问题,但问题仍然存在。这次是暂停,而不是拒绝连接。
以下是日志。 175/152729之前的日志代表第一个503,之后的日志代表我更新配置文件后的503.
有什么想法吗?
[WARNING] 173/000937 (287321) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 173/000937 (287321) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 173/000937 (287321) : Server express/local-gear is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 173/000937 (287321) : proxy 'express' has no server available!
[WARNING] 173/001157 (287321) : Server express/local-gear is UP, reason: Layer7 check passed, code: 200, info: "HTTP status check returned code <3C>200<3E>", check duration: 23ms. 1 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
[WARNING] 175/132222 (287321) : Server express/local-gear is DOWN for maintenance.
[ALERT] 175/132222 (287321) : proxy 'express' has no server available!
[WARNING] 175/132534 (287321) : Server express/local-gear is UP (leaving maintenance).
[WARNING] 175/133252 (287321) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10000ms. 0 active and 0 backup servers left. 13 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/133252 (287321) : proxy 'express' has no server available!
[WARNING] 175/133612 (287321) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/133636 (153678) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/133636 (153678) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/133646 (153678) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/133646 (153678) : proxy 'express' has no server available!
[WARNING] 175/133652 (153678) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/133658 (153678) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/140641 (318379) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/140641 (318379) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/140643 (318379) : Server express/local-gear is DOWN for maintenance.
[ALERT] 175/140643 (318379) : proxy 'express' has no server available!
[WARNING] 175/140646 (318379) : Server express/local-gear is UP (leaving maintenance).
[WARNING] 175/140708 (318379) : Server express/local-gear is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/140708 (318379) : proxy 'express' has no server available!
[WARNING] 175/141008 (318379) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/141011 (338788) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/141011 (338788) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/141011 (338788) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 404, info: "HTTP status check returned code <3C>404<3E>", check duration: 10ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/141011 (338788) : proxy 'express' has no server available!
[WARNING] 175/141029 (338788) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/141032 (342087) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/141032 (342087) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/141032 (342087) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 404, info: "HTTP status check returned code <3C>404<3E>", check duration: 2ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/141032 (342087) : proxy 'express' has no server available!
[WARNING] 175/141036 (342087) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/141201 (342087) : Server express/local-gear is UP (leaving maintenance).
[WARNING] 175/152729 (342087) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10003ms. 0 active and 0 backup servers left. 2 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/152729 (342087) : proxy 'express' has no server available!
[WARNING] 175/152922 (342087) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/152942 (252887) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/152942 (252887) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/152952 (252887) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/152952 (252887) : proxy 'express' has no server available!
[WARNING] 175/153032 (252887) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/153053 (258844) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/153053 (258844) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/153103 (258844) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10006ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/153103 (258844) : proxy 'express' has no server available!
[WARNING] 175/153110 (258844) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/153115 (258844) : Server express/local-gear is DOWN for maintenance.
[WARNING] 175/153600 (286688) : config : log format ignored for proxy 'stats' since it has no log address.
[WARNING] 175/153600 (286688) : config : log format ignored for proxy 'express' since it has no log address.
[WARNING] 175/153610 (286688) : Server express/local-gear is DOWN, reason: Layer7 timeout, check duration: 10013ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 175/153610 (286688) : proxy 'express' has no server available!
[WARNING] 175/153622 (286688) : Server express/local-gear is UP, reason: Layer7 check passed, code: 200, info: "HTTP status check returned code <3C>200<3E>", check duration: 86ms. 1 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.