What are the main reasons for passenger server shut down periodically?

情到浓时终转凉″ 提交于 2019-12-04 15:51:46

The error says : "please check whether there are crashing bugs in this application."

Did you try to remove your web application, and try with a simple index.html page ?

If it's stable then the issue doesn't come from Passenger config, but rather in your application. In this case, increase the log verbosity by adding loger in your application at each step there is a user interaction.

Check also that you are using apache2-mpm-prefork and not apache2-mpm-worker. This apache2-mpm-worker is a multi-thread version, and unfortunately passenger doesn't support multi-thread with apache2. Try following commands to check wether it is installed or not :

aptitude show apache2-mpm-worker
aptitude show apache2-mpm-prefork

What does this command shows ?

passenger-install-apache2-module

You should have everything green.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!