2013-02-08 35 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啓動其他的事情。

相關問題