这个网站负载很重,rails app [英] This website is under heavy load, rails app
问题描述
我遇到了错误,我尝试了很多搜索.看了很多帖子,但对我没有任何作用.有关如何解决此问题的任何建议.
I am getting error, I tried searching a lot. And seen many posts but nothing worked for me. Any suggestions on how to fix this.
此网站负载过重
很抱歉,太多人同时访问此网站.我们正在解决这个问题.请稍后再试.
We're sorry, too many people are accessing this website at the same time. We're working on this problem. Please try again later.
当我运行free -m
时,这是内存状态
when I run free -m
, this is the memory status
看到nginx配置文件,这些是我的设置
and seeing nginx configuration file, these are my settings
我尝试根据人们在 stackoverflow 上指定的不同内容来修改设置.但我仍然面临这个问题
I tried modifying settings, according to different things specified by people on stackoverflow. But I still facing the issue
推荐答案
Passenger 文档和以下文章解释了此错误是什么、为什么会出现该错误以及如何使其消失:
The Passenger documentation and the following article explain what this error is, why you get it, and how you can make it go away:
- https://www.phusionpassenger.com/library/config/nginx/reference/#passenger_max_request_queue_size
- Phusion 乘客 PassengerMaxRequestQueueSize 的最佳值是多少
这篇关于这个网站负载很重,rails app的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!