New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add passenger_max_requests option per vhost #1517
Conversation
This PR actually extends this one #1510 |
@@ -383,6 +383,7 @@ | |||
'passenger_app_env' => 'test', | |||
'passenger_ruby' => '/usr/bin/ruby1.9.1', | |||
'passenger_min_instances' => '1', | |||
'passenger_max_requests' => '1000', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's similar to this configuration from apache.
https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#maxconnectionsperchild
Therefore you should set a non-zero value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, did'nt realized this was in the spec
directory!
Checking that this produce the expected configuration would have helped me detect this 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a rebase should get this in order if you're still around to do it
README.md
Outdated
@@ -2553,6 +2553,10 @@ Sets [PassengerRuby](https://www.phusionpassenger.com/library/config/apache/refe | |||
|
|||
Sets [PassengerMinInstances](https://www.phusionpassenger.com/library/config/apache/reference/#passengermininstances), the minimum number of application processes to run. | |||
|
|||
##### `passenger_max_requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs a closing backtick
@eputnam I synced my repo with upstream and reapplied my changes on top of that so it's mergeable. |
Signed-off-by: Pavel Pulec kayn@inuits.eu