【发布时间】:2013-12-30 11:47:31
【问题描述】:
我们在 CentOS 6 上运行一个带有 ROR 的网站,它有 2 个 Web 服务器和 1 个数据库服务器。有时它会显示消息“网站负载过重”...请帮助您在此处检查什么。
我们将 Passenger 4.0.21 与 Ruby 1.8.7 和 Apache 2.2.15 一起使用。 Web 服务器以默认设置运行。
以下是乘客状态的一些输出:
# 乘客状态
Version : 4.0.21
Date : Thu Dec 12 02:02:44 -0500 2013
Instance: 20126
----------- General information -----------
Max pool size : 6
Processes : 6
Requests in top-level queue : 0
----------- Application groups -----------
/home/web/html#default:
App root: /home/web/html
Requests in queue: 100
* PID: 20290 Sessions: 1 Processed: 53 Uptime: 24h 3m 5s
CPU: 0% Memory : 634M Last used: 23h 16m 8
* PID: 22657 Sessions: 1 Processed: 37 Uptime: 23h 15m 55s
CPU: 0% Memory : 609M Last used: 22h 44m
* PID: 29147 Sessions: 1 Processed: 146 Uptime: 20h 47m 48s
CPU: 0% Memory : 976M Last used: 18h 20m
* PID: 22216 Sessions: 1 Processed: 26 Uptime: 10h 3m 19s
CPU: 0% Memory : 538M Last used: 9h 44m 4
* PID: 23306 Sessions: 1 Processed: 75 Uptime: 9h 43m 22s
CPU: 0% Memory : 483M Last used: 8h 44m 4
* PID: 25626 Sessions: 1 Processed: 115 Uptime: 8h 46m 42s
CPU: 0% Memory : 540M Last used: 7h 59m 5
【问题讨论】:
标签: ruby-on-rails ruby apache centos passenger