Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2789

Show
Ignore:
Timestamp:
10/28/05 20:09:52 (3 years ago)
Author:
david
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/bin/lighttpd

    r2787 r2789  
    33if RUBY_PLATFORM !~ /mswin/ && `lighttpd -version 2>/dev/null`.size > 0 
    44  puts "=> Rails application started on http://0.0.0.0:3000" 
    5   puts "=> Ctrl-C to shutdown server
     5  puts "=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
    66 
    77  `lighttpd -D -f #{File.dirname(__FILE__) + "/../"}/config/lighttpd.conf` 
  • trunk/railties/configs/lighttpd.conf

    r2787 r2789  
    1313url.rewrite              = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) 
    1414 
     15# Change *-procs to 2 if you need to use Upload Progress or other tasks that 
     16# *need* to execute a second request while the first is still pending. 
    1517fastcgi.server = ( ".fcgi" => 
    1618  ( "localhost" => 
    1719      ( 
    18         "min-procs" => 2,  
    19         "max-procs" => 2
     20        "min-procs" => 1,  
     21        "max-procs" => 1
    2022        "socket"    => "log/fcgi.socket", 
    2123        "bin-path"  => "public/dispatch.fcgi",