Changing The Number Of Mongrels
By default, the railsmachine gem will allocate 2 mongrels for each application. If you’d like to run more, uncomment and update these lines in your deploy.rb:
set :apache_proxy_servers, 3
set :mongrel_servers, apache_proxy_servers
Commit your changes and then run this on your development system:
cap app:setup web:setup servers:restart
Note: If you’ve customized your Apache configuration- to use SSL, for instance- you should omit the web:setup task and instead update the balance members manually in /etc/httpd/conf/apps/yourapp.conf
Make sure you have enough memory to run those new mongrels!
