Wondering: Does Apache shut down inactive FastCGI processes if it
doesn’t get any requests for a while? My app works fine if it’s being
used regularly, but it will respond very slowly to the first request
after an hour of zero traffic.
Is there a way to keep FastCGI ready all the time, even when there
haven’t been any requests for a while? We’re deploying this app on a
kiosk, so traffic is very low, but it needs to respond quickly at any
- Windows XP (I know…)
- Apache 2.0.55 + FastCGI
- Ruby 1.8.2
- Rails 1.0
Options ExecCGI FollowSymLinks
Allow from localhost 127.0.0.1
AddHandler fastcgi-script .fcgi
FastCgiConfig -initial-env RAILS_ENV=production -maxProcesses=1
Am I missing anything?