On 13/08/09 22:36, Trevor Vaughan wrote:
> All,
> 
> I'm trying to figure out the best way to estimate the amount of memory
> usage that will be taken up by Mongrel and I'm hoping that you have
> some estimates that can help me.
> 
> I'm currently estimating the following:
> 
> Memory Required = Number of running puppetmasters * size of manifests
> * number of clients managed

In 0.24, what cost the most is the file transfer, hopefully 0.25 is 
waaay better in this respect.

> The mongrel model doesn't seem to *ever* reclaim memory.

My master don't grow, but they're not really under load.
One of the issue with MRI, is that if your master are constantly under 
load the ruby garbage collector never really start, and thus memory is 
not reclaimed.

> Suggestions on reclaiming memory welcome though I'm sure most people
> will just urge me to move to Passenger.

Make sure you're using a recent ruby. It is known that some older ruby 
version are leaking memory.

I can't comment on Passenger since I never tried it. But in the near 
future (understand when I'll have some spare cycle) you'll have another 
promising alternative: Puppet on JRuby on Glassfish.
I was able to run this stack in the lab, and limited testing show that 
it was at least 30% faster than using mongrel. For the memory part, I 
didn't check, but the JVM has a superior garbage collector than the ruby 
one. I really expect some memory gains, just because you'll be running 
only one process...

-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to