[Rails] New release of SCGI
by Jeremy Evans other posts by this author
Aug 13 2007 1:54PM messages near this date
[Rails] [ANN] Mysql Replication Adapter
|
[Rails] Setting Primary Key (`id` field) with fixtures
It's been almost two years since the last release of Zed Shaw's SCGI
Rails Runner (0.4.3 in October 2005). I've been using it in production
since then and have modified it to add some new features and remove some
ones I wasn't using. Zed has allowed me to take over the project, and
I've just released a new version of it (0.6.0). Here's a summary of the
changes:
* Single-port clustering is back
* scgi_ctrl is fully configurable on the command line
* Clustering and processing are now built into scgi_ctrl
* DRb, Win32, and throttling are no longer supported
* Soft reconfiguration is no longer supported (no SIGUSR1)
* Restarting via SIGHUP is no longer supported (SIGHUP is the same as
SIGINT)
* The only commands available to scgi_ctrl are start and stop
Here's an list of the available options and defaults:
scgi_ctrl [option=value, ...] (start|stop)
Options:
-b, --bind IP address to bind to [127.0.0.1]
-c, --config Location of config file [config/scgi.yaml]
-d, --directory Working directory [.]
-e, --environment Environment (for Rails) [production]
-f, --fork Number of listners on each port [1]
-l, --logfile Location of log file [log/scgi.log]
-m, --maxconns Maximum number of concurrent users [2**30-1]
-n, --number Number of ports to bind to [1]
-p, --port Starting port to bind to [9999]
-P, --pidfile Location of pid file [log/scgi.pid]
-r, --processor Type of processor to use [Rails]
To try it out:
sudo gem install scgi
The RubyForge project is located at http://rubyforge.org/projects/scgi/.
Enjoy,
Jeremy
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta
lk" group.
To post to this group, send email to rubyonrails-talk@[...].com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@[...].com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
|