简体   繁体   English

nginx乘客服务器错误

[英]nginx passenger server error

I am running rails applications with nginx+passenger 我正在使用Nginx + Passenger运行Rails应用程序

after nginx started serve, I can access it nginx开始投放后,我可以访问它

but after sometime,may be one hour or half a day, it tells me the following message 但过了一段时间,可能是一小时半或半天,它告诉我以下消息

Internal server error   
An error occurred while starting the web application. It sent an unknown response type "".

then i need to reboot the server to let nginx serve normally 然后我需要重启服务器以让Nginx正常运行

My server is running on AliYun and it's memory size is only 512M, is it too small too run passenger? 我的服务器在AliYun上运行,它的内存大小只有512M,是否太小而无法运行乘客?

or what's wrong with the configureation? 还是配置有什么问题?

这只是一种解决方法,您应该找出实际问题是什么(通过监视内存使用情况,处理器使用情况,打开的文件句柄等),但是在此之前,您可以使用passenger_max_requests指令

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM