David Heinemeier Hansson wrote:
since the Rails env needs quite a lot of RAM and start-up time, is it
really necessary to load it in the spinner/spawner processes?
I'm not sure I understand the question. You can start FCGIs any way
you want. The spawner is just a shortcut for starting many FCGIs at
once and the spinner is a insurance against fallen FCGIs. How does
either have any effect on RAM or start-up time?
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.
Andreas
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core