[Nitro] spawn-fcgi wiki page
timh at dirtymonday.net
Wed Nov 23 22:09:29 EST 2005
On Thu, 24 Nov 2005 03:31:26 +0200 (EET)
Emmanuel Piperakis <epiperak at softlab.ece.ntua.gr> wrote:
> > You have to daemonize the ruby process.
> > However I use a different setup, Lighttpd starts the fcgi handlers and
> > manages them. And I see no problems whatsoever.
> > -g.
> On this subject, I was recently discussing on the channel, that with
> lighttpd and nitro i see around 10 ruby processes running, 4 of which use
> minimum a 1.7% CPU, while nobody does any requests (that is a p4 debian
> machine). Is that normal?
Take a look at the run.rb in my Spark example on the wiki. It sets the run mode to :live, which makes my idle fcgi processes...idle. I am under the impression the majority of that run.rb can be used with any other nitro app.
More information about the Nitro-general