Last change
on this file since 203 was 164, checked in by KOBAYASHI, Shinji, 15 years ago |
simple terminology commit
|
-
Property svn:executable
set to
*
|
File size:
881 bytes
|
Rev | Line | |
---|
[164] | 1 | #!/usr/bin/ruby1.8
|
---|
| 2 |
|
---|
| 3 | #!/usr/local/bin/ruby
|
---|
| 4 | #
|
---|
| 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.
|
---|
| 8 | #
|
---|
| 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.
|
---|
| 12 | #
|
---|
| 13 | # Example:
|
---|
| 14 | # # Default log path, normal GC behavior.
|
---|
| 15 | # RailsFCGIHandler.process!
|
---|
| 16 | #
|
---|
| 17 | # # Default log path, 50 requests between GC.
|
---|
| 18 | # RailsFCGIHandler.process! nil, 50
|
---|
| 19 | #
|
---|
| 20 | # # Custom log path, normal GC behavior.
|
---|
| 21 | # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
|
---|
| 22 | #
|
---|
| 23 | require File.dirname(__FILE__) + "/../config/environment"
|
---|
| 24 | require 'fcgi_handler'
|
---|
| 25 |
|
---|
| 26 | RailsFCGIHandler.process!
|
---|
Note:
See
TracBrowser
for help on using the repository browser.