Hi,

I've been experimenting with Puppet for a few days now, and I really
like it.
But! I'm having real CPU usage problems.

Puppet is still happily eating away 100% CPU for almost an hour at a
time, with no apparent things happening.
(puppetd -tv --trace --debug, but nothing appearing in the console
during this.)

I believe the following resource is to blame:
file { "/some/data/dir":
owner => "$username",
group => "$username",
recurse => "true",
ensure => "directory",
checksum => undef
}

I just want this resource to make sure that all files in the directory
are owned by user and group $username.
/some/data/dir contains 300M in 6000+ files.
This resource executes swiftly, but after the last file has been
chown'd, the puppet hogs the CPU with 100% usage, lasting 40+ minutes.
After that the puppet process finishes normally.
So executing puppet takes about 45 minutes, of which 40 minutes the
CPU usage is 100% and nothing seems to happen.

Some information about my setup:
puppetd en puppetmasterd are 0.25.4

Both running on Xen Dom-U instances
uname -a:
Linux hostname 2.6.18.8 #2 SMP Wed May 27 15:54:07 CEST 2009 x86_64
GNU/Linux
Ubuntu intrepid 8.10

dpkg --list | grep ruby:
ii ruby 4.2 An interpreter of object-oriented scripting
ii ruby1.8 1.8.7.72-1 Interpreter of object-oriented scripting lan

Not really any logging to show, since nothing is logged...

Does anybody have any idea why this happens?
Is puppet just unable to handle large amounts of files and data?

Hoping to be able to use puppet in the near future,

Dieter Van de Walle

PS: I only just discovered this mailinglist, and yesterday I've made a
bugpost for this issue:
http://projects.reductivelabs.com/issues/3365
Not really sure if that was appropriate, hope you don't mind.

-- 
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