Hi all  hopefully someone has already gone through my pain.
Firstly the setup.  I am running Lighttpd(latest) + FastCGI + Rails
2.3.8 and it works brilliantly and very fast.
 
When trying the deploy the Rails 3.0 beta in the same fashion the
fastcgi processes start and then crash 5 seconds later. The dispatcher
command in rails 3 I know is removed so I made my own dispatchers
looking closely at the others from my rails 2 apps.  it just shows the
dispatch.fcgi process as <defunct>

PLEASE help!

Below is my lighty config. It also for some reason even though I have
specified 1 process max it always spawns 4.

$HTTP["host"] =~ "stuff" {
    server.document-root = "/var/www/stuff/public"
    server.errorlog      = "/var/log/lighttpd/stuff.error.log"
    accesslog.filename   = "/var/log/lighttpd/stuff.access.log"
    server.error-handler-404 = "/dispatch.fcgi"
    fastcgi.server = ( "dispatch.fcgi" =>
      ((
        "socket"    => "/var/www/stuff/tmp/stuff.socket",
        "bin-path"  => "/var/www/stuff/public/dispatch.fcgi",
        "min-procs" => 1,
        "max_procs" => 1
      ))
    )
}

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to