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? -- Posted via http://www.ruby-forum.com/.
Most of those 25mb is in swap. Real memory usage is a lot less. On 7/23/06, justin Pease <public@nuance9.com> wrote:> 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? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
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.-- Posted via http://www.ruby-forum.com/.
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 ------ Rails Optimized Hosting ~ VPS and Dedicated Servers Simplified Deployment ~ Services and Software http://railsmachine.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/d82d8839/attachment.html