Move down to 1 proc by default and a bit more help

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-10-28 20:09:52 +00:00
parent b7a2973f71
commit fd1d6d0eb3
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@
if RUBY_PLATFORM !~ /mswin/ && `lighttpd -version 2>/dev/null`.size > 0
puts "=> Rails application started on http://0.0.0.0:3000"
puts "=> Ctrl-C to shutdown server"
puts "=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)"
`lighttpd -D -f #{File.dirname(__FILE__) + "/../"}/config/lighttpd.conf`
else

View File

@ -12,11 +12,13 @@ accesslog.filename = "log/lighttpd.access.log"
url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )
# Change *-procs to 2 if you need to use Upload Progress or other tasks that
# *need* to execute a second request while the first is still pending.
fastcgi.server = ( ".fcgi" =>
( "localhost" =>
(
"min-procs" => 2,
"max-procs" => 2,
"min-procs" => 1,
"max-procs" => 1,
"socket" => "log/fcgi.socket",
"bin-path" => "public/dispatch.fcgi",
"bin-environment" => ( "RAILS_ENV" => "development" )