我有興趣瞭解在60秒內發生什麼事情的一些步驟,以防止啓動和常見原因。如何在Heroku上調試「錯誤R10(引導超時)」問題
這是日誌文件看起來如何(講述發生了什麼actualy事情沒有)
2013-01-14T10:34:17+00:00 app[web.1]: => Booting Thin
2013-01-14T10:34:17+00:00 app[web.1]: => Call with -d to detach
2013-01-14T10:34:17+00:00 app[web.1]: => Rails 3.2.2 application starting in production on http://0.0.0.0:52216
2013-01-14T10:34:17+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-01-14T10:34:23+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2013-01-14T10:34:23+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-01-14T10:34:24+00:00 heroku[web.1]: Process exited with status 137
2013-01-14T10:34:24+00:00 heroku[web.1]: State changed from starting to crashed
我想,如果有至少一個堆棧跟蹤顯示,當過程被打死,那將是非常很有幫助。
你做什麼/檢查什麼時候發生這種情況?
PS:我不是在尋找我的案例的答案,而是一般的步驟,每個人都可以從中受益。
注意:這篇文章中的方法也很有用:http://stackoverflow.com/questions/11544460/how-to-get-a-backtrace-from-a-systemstackerror-stack-level-too-深 – hakunin