Skip to content

Instantly share code, notes, and snippets.

@dblessing
Created April 15, 2013 19:00
Show Gist options
  • Save dblessing/5390448 to your computer and use it in GitHub Desktop.
Save dblessing/5390448 to your computer and use it in GitHub Desktop.
passenger.conf
# 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