我已经向Heroku上传了一个简单的应用程序,但是,经过一段时间它停止工作并且所有GET请求都阻止了。
我收到此错误:
2011-05-13T13:04:11+00:00 app[web.1]: Started GET "/api/v1/69399ead0ed4ded38e7a101f7c8faf/2011-2-1.json" for 81.84.100.109 at Fri May 13 06:04:11 -0700 2011
2011-05-13T13:04:11+00:00 app[web.1]: Processing by ApiController#api_bounces as JSON
2011-05-13T13:04:11+00:00 app[web.1]: Parameters: {"api_id"=>"69399ead0ed4ded38e7a101f7c8faf", "init"=>"2011-2-1"}
2011-05-13T13:04:57+00:00 heroku[router]: Error H11 (Backlog too deep) -> GET bapi.heroku.com/favicon.ico dyno=none queue=0 wait=0ms service=0ms bytes=0
2011-05-13T13:05:05+00:00 heroku[router]: Error H12 (Request timeout) -> GET bapi.heroku.com/api/v1/69399ead0ed4ded38e7a101f7c8faf/2011-2-1.json dyno=web.1 queue=0 wait=0ms service=0ms bytes=0
2011-05-13T13:05:20+00:00 heroku[router]: Error H12 (Request timeout) -> GET bapi.heroku.com/api/v1/69399ead0ed4ded38e7a101f7c8faf/2011-2-1.json dyno=web.1 queue=0 wait=0ms service=0ms bytes=0
2011-05-13T13:05:36+00:00 heroku[router]: Error H12 (Request timeout) -> GET bapi.heroku.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=0ms bytes=0
2011-05-13T13:05:36+00:00 heroku[router]: Error H12 (Request timeout) -> GET bapi.heroku.com/api/v1/69399ead0ed4ded38e7a101f7c8faf/2011-2-1.json dyno=web.1 queue=0 wait=0ms service=0ms bytes=0
我无法理解为什么,以前从未发生过其他应用程序。
答案 0 :(得分:1)
你得到Backlog太深的错误。你在一个dyno上运行吗?您的上传将消耗该dyno,因此任何其他请求都将排队。
http://devcenter.heroku.com/articles/backlog-too-deep
约翰。