Phusion Passenger 崩溃了...我怎样才能获得堆栈跟踪?
我正在将 Phusion Passenger 2.2.2 与 Rails 2.3.8 和 2.3.2 应用程序一起使用。每隔一段时间,它就会冻结,并且在尝试访问 Rails 应用程序时服务器没有响应。 apache 日志或rails 日志中没有任何内容。我不是在谈论 500 错误或其他任何问题,只是没有任何响应。在我们重新启动 apache 之前他们不会响应。
我尝试按照以下说明尝试获取堆栈跟踪: http:// /www.modrails.com/documentation/Users%20guide%20Apache.html#debugging_frozen
我根据说明向进程发送了 SIGABRT,但它们似乎没有关心。在 apache 或 Rails 日志中没有看到任何内容。
I'm using Phusion Passenger 2.2.2 with a Rails 2.3.8 and 2.3.2 apps. Every once in awhile it will freeze and there is no response from the server when trying to access the rails applications. There is nothing in the apache log or the rails logs. I'm not talking about a 500 error or anything, there is just no response whatsoever. They don't respond until we restart apache.
I tried to follow these instructions to try to get a stack trace: http://www.modrails.com/documentation/Users%20guide%20Apache.html#debugging_frozen
I sent SIGABRT to the processes, according to the instructions, and they did not seem to care. Didn't see anything in the apache or rails logs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Passenger 上解决此问题的方法是向卡住的 Rails 进程发出
kill -SIGABRT
,并在Rails 日志
中找到其回溯The way to troubleshoot this problem on Passenger is to issue a
kill -SIGABRT
to the stuck Rails processes, and find their backtrace in theRails log