Created
April 15, 2013 19:00
-
-
Save dblessing/5390448 to your computer and use it in GitHub Desktop.
passenger.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The passenger module path should match ruby gem version | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12 | |
PassengerRuby /usr/bin/ruby | |
# Recommended Passenger Configuration | |
PassengerHighPerformance on | |
PassengerUseGlobalQueue on | |
# PassengerMaxPoolSize control number of application instances, | |
# typically 1.5x the number of processor cores. | |
PassengerMaxPoolSize 3 | |
# Restart ruby process after handling specific number of request to resolve MRI memory leak. | |
PassengerMaxRequests 4000 | |
# Shutdown idle Passenger instances after 30 min. | |
PassengerPoolIdleTime 1800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment