On 6/12/07, Jesse Proudman <[EMAIL PROTECTED]> wrote:
> Each mongrel uses approx 70 Megs of RAM.

50 to 80 is the range I've seen. You should also set up the load
balancer in such a way that it never sends more than one request at a
time to any Mongrel process, when a Mongrel is overloaded even for a
few minutes, it will allocate another up to 50 Mb and never release it
back.

512 Mb is the minimum you need for 4 Mongrels, which is usually enough
to exhaust CPU / system bus speed limits on a commodity Dual Core box.
In equally vague terms, it should usually be enough to handle a normal
slashdotting  (sustained load of 10-20 hits per second) with a
reasonably well-tuned Rails app and no page caching. Assuming your
database is on another box.

Having said that, there are applications and applications. Something
like a blog (99% page-cached traffic) can be hosted on a 100 Mb VM
with a single Mongrel behind Apache.

--
Alex Verkhovsky
RubyWorks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to