Apache-httpd 进程因部署时分段错误而终止
我正在运行 Rails 2.3.3 应用程序,该应用程序是通过 guest/mod_rails 与 ruby-enterprise-1.8.6-20090610 和 apache httpd 一起部署的。
问题是,每当我部署应用程序时,数百个 httpd 进程就会开始死亡。我收到此错误:
[notice] child pid NNNNN exit signal Segmentation fault(11)
10-20 分钟后。这些错误都会消失。
将我们的数据库迁移到单独的专用计算机后,此问题开始出现。所以我认为这可能是 mysql-db 连接池和管理的问题,但我无法定义它。
有谁可以帮助我解决这个问题,或者只是给我一个如何更深入地调试它的线索。先感谢您。
I'm running Rails 2.3.3 application which is deployed with passenger/mod_rails with ruby-enterprise-1.8.6-20090610 and apache httpd.
The problem is that whenever I deploy our application, hundreds of httpd processes start dying. I'm getting this error:
[notice] child pid NNNNN exit signal Segmentation fault(11)
After a short period of time 10-20min. those errors pass off.
This problem started after migrating our database to a separate and dedicated machine. So I think it could be a problem of the mysql-db connection pools and management, however I can not define it.
Does anyone could help me with this problem or just give me a clue how to debug it deeper. Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先在服务器上启用核心转储。
然后运行它以获取核心文件以获取回溯并初步了解服务器核心转储的位置。
我现在正在经历同样的问题。但 Rails 则不然。
华泰
Start by enabling core dumps on your server.
Then run it to get a core file to get a backtrace and get an initial idea of where the server is core dumping.
I'm going throught the same problem at the moment. Not with Rails though.
HTH