Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
nginx, worker_processes, and passenger_max_pool_size
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Trevor Turk  
View profile  
 More options Sep 18, 10:45 am
From: Trevor Turk <trevort...@gmail.com>
Date: Fri, 18 Sep 2009 07:45:40 -0700 (PDT)
Local: Fri, Sep 18 2009 10:45 am
Subject: nginx, worker_processes, and passenger_max_pool_size
I wondered if someone could clarify the relationship between the
number of nginx workers and passenger workers. If I have a config like
this:

worker_processes 6;
http { passenger_max_pool_size 20; }

...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.

Thanks,
- Trevor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Sep 23, 11:09 am
From: Hongli Lai <hon...@phusion.nl>
Date: Wed, 23 Sep 2009 17:09:35 +0200
Local: Wed, Sep 23 2009 11:09 am
Subject: Re: [phusion-passenger] nginx, worker_processes, and passenger_max_pool_size

On Fri, Sep 18, 2009 at 4:45 PM, Trevor Turk <trevort...@gmail.com> wrote:

> I wondered if someone could clarify the relationship between the
> number of nginx workers and passenger workers. If I have a config like
> this:

> worker_processes 6;
> http { passenger_max_pool_size 20; }

> ...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)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Turk  
View profile  
 More options Sep 23, 11:38 am
From: Trevor Turk <trevort...@gmail.com>
Date: Wed, 23 Sep 2009 08:38:33 -0700 (PDT)
Local: Wed, Sep 23 2009 11:38 am
Subject: Re: nginx, worker_processes, and passenger_max_pool_size
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.

Thanks!
- Trevor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Sep 23, 12:18 pm
From: Hongli Lai <hon...@phusion.nl>
Date: Wed, 23 Sep 2009 18:18:30 +0200
Local: Wed, Sep 23 2009 12:18 pm
Subject: Re: [phusion-passenger] Re: nginx, worker_processes, and passenger_max_pool_size

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)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Turk  
View profile  
 More options Sep 23, 12:29 pm
From: Trevor Turk <trevort...@gmail.com>
Date: Wed, 23 Sep 2009 09:29:37 -0700 (PDT)
Local: Wed, Sep 23 2009 12:29 pm
Subject: Re: nginx, worker_processes, and passenger_max_pool_size
On Sep 23, 11:18 am, Hongli Lai <hon...@phusion.nl> wrote:

> Setting the number of Nginx workers to the number of CPU cores should
> be sufficient.

Thanks very much. This is really helpful information.

Thanks,
- Trevor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google