On Wed, Dec 15, 2010 at 4:47 PM, Ashley Penney <[email protected]> wrote:

> Just to reply to this - like I said earlier I can get this problem with 1
> node checking in against puppetmaster.  All the puppetmasterd processes use
> maximum CPU.  It's not a scaling issue considering serving one node is
> certainly not going to max out a newish physical server.


That is definitely a problem.

Does this happen as soon as a node checks in? Or as soon as you start the
passenger processes?

Can you post a sanitized strace somewhere?


>
>
> On Wed, Dec 15, 2010 at 4:45 PM, Brice Figureau <
> [email protected]> wrote:
>
>>
>> Just some math (which might be totally wrong), to give an idea of how I
>> think we can compute our optimal scaling case:
>> So with 250 nodes and a sleep time of 30 minutes, we need to overcome
>> 250 compiles in every 30 minute time spans. If we assume a concurrency
>> of 2 and all nodes evenly spaced (in time), that means we must compile
>> 125 nodes in 30 minutes. If each compilation takes about 10s, then that
>> means it'll take 1250s, which means 20 minutes so you have some room for
>> growth :)
>> Now during those 20min your 2 master processes will consume 100% CPU.
>> Since we're consuming the the CPU for only 66% of the 30 minute span,
>> you'll globally consume 66% of all your CPU available...
>>
>> Hope that helps,
>>
>> [1]: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Introspection
>> --
>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<puppet-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Nigel Kersten - Puppet Labs -  http://www.puppetlabs.com

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

Reply via email to