NGINX,Passenger,Rails“资源暂时无法连接到上游”

时间:2012-06-30 14:01:56

标签: mysql ruby-on-rails-3 nginx passenger linode

Ruby 1.8.7,rails 3.0.1 该应用程序运行良好超过一年,并在一周内没有更新。但是,突然进入应用程序会返回503错误。数据库连接在另一个Linode上 - 运行正常,我可以从问题服务器手动连接到mysql数据库,这就是nginx访问日志所说的:

2012/06/30 03:20:00 [error] 2277#0: *509 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:20:12 [error] 2277#0: *511 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:20:24 [error] 2277#0: *513 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:20:36 [error] 2277#0: *515 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:20:48 [error] 2277#0: *517 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:21:00 [error] 2277#0: *519 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:21:12 [error] 2277#0: *521 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:21:24 [error] 2277#0: *523 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"
2012/06/30 03:21:35 [error] 2277#0: *525 connect() to unix:/passenger_helper_server failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.255.12, server: disco, request: "GET / HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "*.*.*.*"

Linode说一切都运行得很好 - 任何想法都可以指引我朝着正确的方向前进?

1 个答案:

答案 0 :(得分:0)

好像看起来亚马逊中断了我们的redis数据库:

http://www.theregister.co.uk/2012/06/30/amazon_cloud_storm_outage/