繁体   English   中英

Phusion Passenger(带有Nginx + Rails应用程序)不会停止生成

[英]Phusion Passenger (w/ Nginx + Rails app) won't stop spawning

root@mysite:~# passenger-status
Version : 5.0.6
Date    : 2015-10-12 15:54:03 -0700
Instance: P4b1jBjU (nginx/1.6.2 Phusion_Passenger/5.0.6)

----------- General information -----------
Max pool size : 700
Processes     : 681
Requests in top-level queue : 0

----------- Application groups -----------
/opt/nginx/html/mysite/current/public#default:
  App root: /opt/nginx/html/mysite/current
  Requests in queue: 0
  * PID: 21097   Sessions: 1       Processed: 25      Uptime: 36m 2s
    CPU: 0%      Memory  : 119M    Last used: 35m 38s ago
......
  * PID: 20818   Sessions: 0       Processed: 0       Uptime: 4s
    CPU: 151%    Memory  : 0M      Last used: 4s ago

我正在运行Phusion Passenger,即使活动Nginx连接的数量(按stub_status)远小于Passenger活动池的大小,池仍在不断扩展。 不管我设置了多高(当前设置为700 max),它都在不断增长。 为什么会这样呢?

在我编译了“ Passenger + Nginx”组合的更高版本后,问题解决了。 这种情况发生在刚从其他硬件移出的VPS上,因此重新编译可能是解决方案的唯一原因(与软件版本升级相比)。

暂无
暂无

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

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