...will there still be a limit of 20 passenger workers among the 6
nginx workers, or is the passenger limit a per-nginx-worker value? It
looks like the passenger_max_pool_size value is maintained no matter
how many nginx worker process you have, but I wanted to check in any
case.
> ...will there still be a limit of 20 passenger workers among the 6 > nginx workers, or is the passenger limit a per-nginx-worker value? It > looks like the passenger_max_pool_size value is maintained no matter > how many nginx worker process you have, but I wanted to check in any > case.
The Phusion Passenger pool size is independent from the number of Nginx worker processes that you have.
-- Phusion | The Computer Science Company
Web: http://www.phusion.nl/ E-mail: i...@phusion.nl Chamber of commerce no: 08173483 (The Netherlands)
On Sep 23, 10:09 am, Hongli Lai <hon...@phusion.nl> wrote:
> The Phusion Passenger pool size is independent from the number of
> Nginx worker processes that you have.
Thanks very much for the reply. I wonder if you (or anyone else) knows
of some rough guides about how the two sets of workers relate to each
other. I'm currently using 6 nginx workers to 20 passenger workers,
but I have no idea how to tell if this is a good relationship or not.
What I mean is, perhaps 4 nginx workers to 20 passenger workers would
be better, but I don't know how to tell what is a good balance.
On Wed, Sep 23, 2009 at 5:38 PM, Trevor Turk <trevort...@gmail.com> wrote: > Thanks very much for the reply. I wonder if you (or anyone else) knows > of some rough guides about how the two sets of workers relate to each > other. I'm currently using 6 nginx workers to 20 passenger workers, > but I have no idea how to tell if this is a good relationship or not. > What I mean is, perhaps 4 nginx workers to 20 passenger workers would > be better, but I don't know how to tell what is a good balance.
Setting the number of Nginx workers to the number of CPU cores should be sufficient.
-- Phusion | The Computer Science Company
Web: http://www.phusion.nl/ E-mail: i...@phusion.nl Chamber of commerce no: 08173483 (The Netherlands)