Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
increase concurrent request
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
  3 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
 
sgoel  
View profile  
 More options Feb 2, 2:23 pm
From: sgoel <savitha.g...@gmail.com>
Date: Thu, 2 Feb 2012 11:23:30 -0800 (PST)
Local: Thurs, Feb 2 2012 2:23 pm
Subject: increase concurrent request
We have ruby on rail web application. During training session of our
product, all users (around 25 people) were asked to log-in into our
web application. It locked up the server!

It looks like my application is not taking more than 6 concurrent
request, all other requests block until done.
I tried increasing PassengerMaxPoolSize to 10.  I also tried
PassengerMaxInstancesPerApp 10 and PassengerUseGlobalQueue on, no
help.
I verified that the new setting is "taking" by running passenger-
status, and it shows max of 10, current 6.
I have tons of swap space left (my production server will have more
RAM, so not an issue for more Rails processes).

My Env:
Apache2.2.21, passenger-3.0.2, ruby 1.8.7, Rails 2.3.5, OS: CentOS
release 5.5

Can someone please let me how to increase # of concurrent requests to
more than 6? Is there any setting that need to done on Passenger side
or Apache side?


 
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 Feb 6, 3:27 am
From: Hongli Lai <hon...@phusion.nl>
Date: Mon, 6 Feb 2012 09:27:42 +0100
Local: Mon, Feb 6 2012 3:27 am
Subject: Re: [phusion-passenger] increase concurrent request
Increasing PassengerMaxPoolSize should work. Phusion Passenger starts
another process whenever it detects that all existing processes are
busy. Did you not forget to restart your web server after having made
the change?

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
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.
sgoel  
View profile  
 More options Feb 10, 4:56 pm
From: sgoel <savitha.g...@gmail.com>
Date: Fri, 10 Feb 2012 13:56:02 -0800 (PST)
Local: Fri, Feb 10 2012 4:56 pm
Subject: Re: increase concurrent request
Thanks for the reply.
I had restarted the web server. But, I still see the same result.

When i ran passenger-memory-stats shows as:

---- Passenger processes -----
PID    VMSize   Private  Name
------------------------------
30500  3.8 MB   0.2 MB   PassengerWatchdog
30503  14.8 MB  0.5 MB   PassengerHelperAgent
30505  7.9 MB   4.8 MB   Passenger spawn server
30508  7.4 MB   0.4 MB   PassengerLoggingAgent
30586  86.3 MB  65.2 MB  Rails: /usr/local/xx/ODP/root
31163  64.0 MB  45.4 MB  Passenger ApplicationSpawner: /usr/local/xx/
ODP/root
31178  82.0 MB  56.9 MB  Rails: /usr/local/xx/ODP/root
31530  85.3 MB  53.5 MB  Rails: /usr/local/xx/ODP/root
31540  85.2 MB  53.4 MB  Rails: /usr/local/xx/ODP/root
31552  85.2 MB  53.3 MB  Rails: /usr/local/xx/ODP/root
31561  85.1 MB  53.4 MB  Rails: /usr/local/xx/ODP/root

### Processes: 11
### Total private dirty RSS: 386.97 MB

And Passenger-status shows as

max      = 10
count    = 6
active   = 6
inactive = 1
Waiting on global queue: 0

But, Apache processes shows more than 6 entries.

I have Apache worker not prefork. Does that matter?

Any help is highly appreciated.

Thanks

On Feb 6, 12:27 am, Hongli Lai <hon...@phusion.nl> wrote:


 
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 »