On Wed, Dec 15, 2010 at 2:14 PM, Brice Figureau <
brice-pup...@daysofwonder.com> wrote:
>
> Note: we were talking about the puppet master taking 100% CPU, but
> you're apparently looking to the puppet agent, which is a different story.
>

The agent isn't taking cpu, it is hanging waiting for the master to do
anything. (The run I quoted earlier eventually ended with a timeout..) The
master has pegged the cpus, and it seems to be related to file resources:

$ ps auxw|grep master
puppet   31392 74.4  4.7 361720 244348 ?       R    10:42 162:06 Rack:
/usr/share/puppet/rack/puppetmasterd

puppet   31396 70.0  4.9 369524 250200 ?       R    10:42 152:32 Rack:
/usr/share/puppet/rack/puppetmasterd

puppet   31398 66.2  3.9 318828 199472 ?       R    10:42 144:10 Rack:
/usr/share/puppet/rack/puppetmasterd

puppet   31400 66.6  4.9 369992 250588 ?       R    10:42 145:04 Rack:
/usr/share/puppet/rack/puppetmasterd

puppet   31406 68.6  3.9 318292 200992 ?       R    10:42 149:31 Rack:
/usr/share/puppet/rack/puppetmasterd

puppet   31414 67.0  2.4 243800 124476 ?       R    10:42 146:00 Rack:
/usr/share/puppet/rack/puppetmasterd


Dec 15 13:42:23 puppet puppet-master[31406]: Compiled catalog for
puppet.foo.com in environment production in 30.83 seconds
Dec 15 13:42:49 puppet puppet-agent[10515]: Caching catalog for
puppet.foo.com
Dec 15 14:00:18 puppet puppet-agent[10515]: Applying configuration version
'1292438512'
...
Dec 15 14:14:56 puppet puppet-agent[10515]: Finished catalog run in 882.43
seconds
Changes:
            Total: 6
Events:
          Success: 6
            Total: 6
Resources:
          Changed: 6
      Out of sync: 6
            Total: 287
Time:
   Config retrieval: 72.20
             Cron: 0.05
             Exec: 32.42
             File: 752.33
       Filebucket: 0.00
            Mount: 0.98
          Package: 6.13
         Schedule: 0.02
          Service: 9.09
   Ssh authorized key: 0.07
           Sysctl: 0.00

real    34m56.066s
user    1m6.030s
sys    0m26.590s

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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