5 # You may specify the path to the FastCGI crash log (a log of unhandled
6 # exceptions which forced the FastCGI instance to exit, great for debugging)
7 # and the number of requests to process before running garbage collection.
9 # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
10 # and the GC period is nil (turned off). A reasonable number of requests
11 # could range from 10-100 depending on the memory footprint of your app.
14 # # Default log path, normal GC behavior.
15 # RailsFCGIHandler.process!
17 # # Default log path, 50 requests between GC.
18 # RailsFCGIHandler.process! nil, 50
20 # # Custom log path, normal GC behavior.
21 # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
23 require File.dirname(__FILE__) + "/../config/environment"
24 require 'fcgi_handler'
26 RailsFCGIHandler.process!