I suggest peeking at the lighttpd-config package I have made to look at how
you can manage many unique instances of lighttpd in a virtual host
environment.

http://rubyforge.org/projects/lighttpd-config

I have the configuration options abstracted to the point I can deploy a new
lighttpd instance in about 60 seconds. I hope to shorten this after
gemifying the package and having a setup script to configure the variables
through CLI prompts. If you are game to do this, I would be happy to commit
and credit ;)

-Nb

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andreas
> Sent: January 9, 2006 8:03 PM
> To: rails-core@lists.rubyonrails.org
> Subject: [Rails-core] Re: spinner/spawner: is it really 
> necessary to loadthe Rails environment?
> 
> Rick Olson wrote:
> >>The spinner process is running all the time, and because it 
> has loaded 
> >>and initialized the whole Rails environment (boot.rb etc.) 
> it uses a 
> >>lot of RAM. The same goes for the spawner process. It is 
> started every 
> >>#{interval} seconds, and because it loads the Rails 
> environment every 
> >>time - this can put a considerable load on a small server. 
> IMO neither 
> >>spinner nor spawner do really need the Rails environment, 
> all they do 
> >>is to call external scripts.
> > 
> > 
> > I deploy apps on a shared hosting server without the spinner, and 
> > everything is fine.  I just use the facilities provided by Lighttpd.
> 
> I'm doing this at the moment, but I would prefer to be able 
> to restart Lighttpd and the various FastCGI servers independently.
> 
> _______________________________________________
> Rails-core mailing list
> Rails-core@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core
> 

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to