Skip to content
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

Merged
merged 1 commit into from Jul 20, 2017
Merged

Conversation

pulecp
Copy link

@pulecp pulecp commented Aug 23, 2016

Signed-off-by: Pavel Pulec kayn@inuits.eu

@pulecp
Copy link
Author

pulecp commented Aug 23, 2016

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',
Copy link

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.

Copy link
Collaborator

@smortex smortex Oct 6, 2016

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 😉

Copy link
Contributor

@eputnam eputnam left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs a closing backtick

@pulecp pulecp reopened this Jul 20, 2017
@pulecp
Copy link
Author

pulecp commented Jul 20, 2017

@eputnam I synced my repo with upstream and reapplied my changes on top of that so it's mergeable.

@eputnam eputnam merged commit b660c70 into puppetlabs:master Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants