On 11/5/07, Pete DeLaurentis <[EMAIL PROTECTED]> wrote:
> What is a good value for --num-procs for rails applications, since
> these are single threaded?  Does it depend on how fast the
> application responds to users?

It's application specific.  Your sweet spot is going to be big enough
that you don't experience capacity starvation during load bursts when
you have temporary periods where more traffic is coming in than you
are clearing, but small enough that you don't waste resources.
Experimentation will probably be required to find the best balance.

If you try evented_mongrel, you don't need to worry about num_procs.
It's irrelevant for the evented_mongrel.


Kirk Haines
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to