Some tips and troubleshooting ideas for Phusion Passenger
Phusion Passenger manages resources for rails applications – spawning new instances as needed, etc..
– provide the status of passenger rails processes
Configuring Phusion Passenger
Add lines to /etc/apache2/apache2.conf to change the default settings
– maximum number of total rails application instances, the default is 6
PassengerMaxInstancesPerApp 5– sets the maximum pool size for any 1 rails application to 10 instances (default is no limit).
– sets globaly queing on, it is off by default. You want globaly queuing on if your requests have large differences in response times (slow and fast responses).
Related: Passenger documentation
If you try
and get something like
*** ERROR: Cannot query status for Passenger instance 2280:
Connection refused – /tmp/passenger.2280/info/status.socket
Restarting (not reloading) apache
sudo /etc/init.d/apache2 restart
may fix the problem.