开发者

How to find maximum concurrent processes Passenger can create?

开发者 https://www.devze.com 2023-02-27 03:22 出处:网络
I\'m running passenger with REE on a Rackspace cloud server. Is there any way to find out what is the maximum concurrent processes开发者_运维技巧 Passenger can create/handle with the provided infrastr

I'm running passenger with REE on a Rackspace cloud server. Is there any way to find out what is the maximum concurrent processes开发者_运维技巧 Passenger can create/handle with the provided infrastructure/hardware?


By default the maximum number of Passenger instances spawned is six. You can adjust this in the configuration. Phusion provide excellent guidelines for setting this value in their documentation:

Nginx - http://www.modrails.com/documentation/Users%20guide%20Nginx.html#PassengerMaxPoolSize

Apache - http://www.modrails.com/documentation/Users%20guide%20Apache.html#_passengermaxpoolsize_lt_integer_gt


Found a better and easier option. I'm monitoring both my Application and EC2 instance (it should also run on Rackspace) with NewRelic. All I need to do now is find a load testing tool & put the load on my instance. NewRelic shows how many instances Passenger is creating & what is the resource consumption (RAM, CPU..etc) for the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消