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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <defunct> > > PLEASE help! >FCGI is obsolescent, if not entirely obsolete. Just use Passenger and have done with it. -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Assuming then I would need to use apache. Does passenger work with the mpm-worker module? On Jul 5, 7:53 pm, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 <defunct> > > > PLEASE help! > > FCGI is obsolescent, if not entirely obsolete. Just use Passenger and > have done with it. > > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > Sent from my iPhone > -- > Posted viahttp://www.ruby-forum.com/.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.