Jira (PUP-3043) 100% CPU usage
Title: Message Title Aaron Hicks commented on PUP-3043 Re: 100% CPU usage If any directories are git repositories setting `ignore => ['.git']` can be a big improvement. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3043 100% CPU usage Change By: Henrik Lindberg Component/s: Types and Providers Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3043 100% CPU usage Change By: Henrik Lindberg Scrum Team: Client Platform Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Aaron Hicks commented on PUP-3043 Re: 100% CPU usage ...could it be when reporting is on, and the agent is compiling the report for submission? here's my agent's puppet.conf: ``` [main] logdir = /var/log/puppet vardir = /var/lib/puppet ssldir = /var/lib/puppet/ssl rundir = /var/run/puppet factpath = $vardir/lib/facter:$vardir/facts server = puppet The class puppet::hiera creates a minimal hiera config to suppress warnings. hiera_config = /etc/puppet/hiera.yaml These are set by the puppet base class when the puppet agent is running [agent] environment = production report = true pluginsync = true ``` Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Aaron Hicks commented on PUP-3043 Re: 100% CPU usage I'm observing similar behavior in Puppet 3.7.4 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Daniel Dreier commented on an issue Re: 100% CPU usage This is still the case in 3.6.2, despite being originally reported four years ago, as demonstrated with the following test case: file { '/tmp/foo': owner => "root", group => "root", recurse => "true", ensure => "directory", checksum => undef } The first time you run it, it'll run very quickly. Run for filename in {1..5} ; do touch /tmp/foo/$filename ; done Then re-run the puppet test case. On a fast i7 CPU with an SSD, it was still running after 15 minutes when I killed it. Add Comment Puppet / PUP-3043 100% CPU usage Hi, I've been experimenting with Puppet for a few days now, and overall I'm pretty impressed on how easy Puppet makes it to manage configurations. However, one thing has been ruining my enthusiasm thoroughly, and that is the massive CPU consumption of Puppet. At first I used puppet to source in and manage a few hundred megabytes of data, so I presu... This message was sent by Atlassian JIRA
Jira (PUP-3043) 100% CPU usage
Title: Message Title Daniel Dreier updated an issue Puppet / PUP-3043 100% CPU usage Change By: Daniel Dreier Affects Version/s: 3.6.2 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3043) 100% CPU usage
Title: Message Title Daniel Dreier updated an issue Puppet / PUP-3043 100% CPU usage Change By: Daniel Dreier Hi,I've been experimenting with Puppet for a few days now, and overall I'm pretty impressed on how easy Puppet makes it to manage configurations.However, one thing has been ruïning ruining my enthusiasm thoroughly, and that is the massive CPU consumption of Puppet.At first I used puppet to source in and manage a few hundred megabytes of data, so I presumed Puppet just wasn't made to provide such large amounts of data.So I set up my own apt repository and created some custom packages to as an alternative way to transfer data.I also learned about the checksum file property, and that the default value of md5 can cause a lot of CPU consumption.So I turned checksumming of (checksum => undef) .But now puppet is still happily eating away 100% CPU for tens of minutes at a time, with no apparent things happening.(puppetd -tv --trace --debug, but nothing appearing in the console while Puppet is cooking the CPU.)I believe the following resource is to blame: {code} file { "/some/data/dir":owner => "$username",group => "$username",recurse => "true",ensure => "directory",checksum => undef } {code} 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 for looong.(Looong being: 30+ minutes, and me hitting CTRL-C being impatient and frustrated with seeing nothing happen.)Some top output: {code} 9570 root 25 0 228m 151m 3664 R 99 29.7 14:31.27 puppetd {code} I don't really understand why I'm getting this.Is Puppet unable to handle this request?What is happening?I'm a bit disappointed to run into such an issue while just doing some trivial tests...If I can't solve this I can't see how Puppet can be usable for me (and there aren't that many alternatives..).I don't know Ruby, and I'm not really fan of the debug-before-use approach...Some information about my setup:puppetd en puppetmasterd are 0.25.4Both running on Xen Dom-U instances {code} uname -a:Linux hostname 2.6.18.8 #2 SMP Wed May 27 15:54:07 CEST 2009 x86_64 GNU/LinuxUbuntu intrepid 8.10dpkg --list | grep ruby:ii ruby 4.2An interpreter of object-oriented scripting ii ruby1.8 1.8.7.72-1 Interpreter of object-oriented scripting lan {code} Not really any logging to show, since nothing is logged...I'm aware this isn't much to go on, but I'll try to provide you with anything you may need if you just ask for it. Add Comment
Jira (PUP-3043) 100% CPU usage
Title: Message Title redmine.exporter created an issue Puppet / PUP-3043 100% CPU usage Issue Type: Bug Assignee: Unassigned Created: 11/Aug/14 11:11 AM Labels: redmine Priority: Normal Reporter: redmine.exporter Hi, I've been experimenting with Puppet for a few days now, and overall I'm pretty impressed on how easy Puppet makes it to manage configurations. However, one thing has been ruïning my enthusiasm thoroughly, and that is the massive CPU consumption of Puppet. At first I used puppet to source in and manage a few hundred megabytes of data, so I presumed Puppet just wasn't made to provide such large amounts of data. So I set up my own apt repository and created some custom packages to as an alternative way to transfer data. I also learned about the checksum file property, and that the default value of md5 can cause a lot of CPU consumption. So I turned checksumming of (checksum => undef) . But now puppet is still happily eating away 100% CPU for tens of minutes at a time, with no apparent things happening. (puppetd -tv --trace --debug, but nothing appearing in the console while Puppet is cooking the CPU.) 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