Hosting on VPS

I have a VPS account with 256MB guaranteed RAM.

I am running it as Apache1.3 -> Pen -> mongrel_cluster (with 2 mongrel
servers).

“top” shows 2 “ruby” instances (I guess for both of the mongrel
servers), each weighing in at about 25MB. Does that sound about right?
If you are using 2 mongrel servers per client app, does that mean that
each RoR app needs 50MB+ dedicated RAM?

Just curious because someone was saying that they can fit alot more
clients per VPS account writing their apps in PHP. Personally the
benefits of RoR far outweigh squeezing more clients onto each web
server, but nevertheless - I was hoping to be able to respond
intelligently, so please fill me in!

Are these unavoidable memory requirements for Rails apps, or is this a
mis-configuration issue?

Most of those 25mb is in swap. Real memory usage is a lot less.

On 7/23/06, justin Pease [email protected] wrote:

Just curious because someone was saying that they can fit alot more


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

So does anyone have any experience with how many low-traffic Rails apps
you can fit on a VPS with 256MB guaranteed RAM? I’m guessing like 4 or
5. Does that sound right?

Jón Borgþórsson wrote:

Most of those 25mb is in swap. Real memory usage is a lot less.

On Jul 23, 2006, at 9:26 AM, justin Pease wrote:

So does anyone have any experience with how many low-traffic Rails
apps
you can fit on a VPS with 256MB guaranteed RAM? I’m guessing like
4 or
5. Does that sound right?

On our 256mb BantamVPS, I recommend 1-6 applications depending on
number of Mongrels per app. If you want 2 mongrels per app, then 3
applications comfortably with a little headroom. By default we run
Apache 2.2 and MySQL, so you could squeeze more in using SQLite with
Pound or Mongrel naked.

Regards,
Bradley Taylor