2013-02-08 36 views
0

我的Heroku托管(ruby Sinatra)应用程序在上个月完美无缺地改变了它,但今天该应用程序在尝试启动后错误怠速:怠速时“应用程序启动超时”

2013-02-08T15:44:34+00:00 heroku[web.1]: Idling 
2013-02-08T15:44:38+00:00 heroku[web.1]: Stopping all processes with SIGTERM 
2013-02-08T15:44:40+00:00 heroku[web.1]: Process exited with status 0 
2013-02-08T15:44:40+00:00 heroku[web.1]: State changed from up to down 
2013-02-08T15:50:50+00:00 heroku[web.1]: Unidling 
2013-02-08T15:50:50+00:00 heroku[web.1]: State changed from down to starting 
2013-02-08T15:52:09+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path=/ host=www.example.com fwd=207.110.13.98 dyno= queue= wait= connect= service= status=503 bytes= 
2013-02-08T15:52:05+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path=/ host=www.example.com fwd=207.110.13.98 dyno= queue= wait= connect= service= status=503 bytes= 

几分钟的错误代码后,应用程序试图再次unidle并且做得很成功。任何想法是什么原因造成这一点,我怎么能阻止它再次发生?

回答

0

的H20错误通常意味着你的应用需要长期已被闲置后启动。有在Heroku Dev Center细节。由于开发中心建议,你应该检查资产预编译或是否有可能放缓的app启动其他的事情。

相关问题