Normal memory usage in Rails

Posted by Erik on Stack Overflow See other posts from Stack Overflow or by Erik
Published on 2010-03-14T09:24:51Z Indexed on 2010/03/14 9:35 UTC
Read the original article Hit count: 695

I'm wondering how much memory usage is normal for a ruby process in a rails application? I really need something to benchmark against.

In my dev environment WEBrick a single ruby process uses about 61mb to handle 10 simultaneous requests going non stop. In my prod environment Apache2+Passenger starts 7 ruby processes to handle the same ammount of requests. Each of those processes also use up about 60mb. Is this normal?

Also, where do I configure how many ruby processes Passenger can start? Or will it start as many as there is memory available for?

Thank you!

ps. Using Rails3 beta. ds.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails3