Rails 3.0 + Lighttpd + FCGI = RAGE

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

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
))
)
}

Assuming then I would need to use apache. Does passenger work with the
mpm-worker module?

Maccy wrote:

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

PLEASE help!

FCGI is obsolescent, if not entirely obsolete. Just use Passenger and
have done with it.

–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

Maccy wrote:

Assuming then I would need to use apache.

Or Nginx. Passenger works with either.

Does passenger work with the
mpm-worker module?

I don’t recall, but I believe that got discussed on the list recently.
Search the archives.

Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone