I am using puppet 0.23.0-1 from Fedora Core 7 for a while and just realized that puppet use over 90% CPU every 30 minutes for about 10minutes. Anyone has the same issue? Barrow _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
It would probably help to know what puppet is doing for those 10 minutes. Could you the puppetd client with --debug, --test and share the results? Also what does your manifest look like? Are you doing some that would normally take up a large percentage of the CPU? On 8/31/07, Barrow Kwan <bhkwan@thoughtworks.com> wrote:> > I am using puppet 0.23.0-1 from Fedora Core 7 for a while and just > realized that puppet use over 90% CPU every 30 minutes for about 10minutes. > Anyone has the same issue? > > > Barrow > > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users > > >_______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Fri, Aug 31, 2007 at 11:23:09AM -0700, Barrow Kwan wrote:> I am using puppet 0.23.0-1 from Fedora Core 7 for a while and just > realized that puppet use over 90% CPU every 30 minutes for about > 10minutes. Anyone has the same issue?puppet, puppetd, or puppetmasterd? My puppetmasterd sometimes goes a bit funky like that, and I think it''s because it''s hammering the buggery out of the SQLite database it''s storing all the client data to. It''s strange, because it doesn''t do it for all clients, just a few of them. If it''s puppetd or puppet, then that''s strange because I''ve not seen either of those two go resource-hungry particularly, although if you were transferring massive numbers of files (especially large files) over a LAN that could account for it. It''d be useful to know exactly what''s causing the problem and how you''re using Puppet (manifests, files, etc) so we can give more detailed help. - Matt
try to run puppet client with --debug switch and found at least one thing that is causing the high CPU usage and it also take like 30seconds to 1 minutes to run debug: Executing ''/usr/bin/test -d /var/lib/svn/repos/projectA'' ( still looking for any other things that is causing this HIGH CPU usage ...) On Sep 1, 2007, at 12:32 AM, Matthew Palmer wrote:> On Fri, Aug 31, 2007 at 11:23:09AM -0700, Barrow Kwan wrote: >> I am using puppet 0.23.0-1 from Fedora Core 7 for a while and just >> realized that puppet use over 90% CPU every 30 minutes for about >> 10minutes. Anyone has the same issue? > > puppet, puppetd, or puppetmasterd? My puppetmasterd sometimes goes > a bit > funky like that, and I think it''s because it''s hammering the > buggery out of > the SQLite database it''s storing all the client data to. It''s > strange, > because it doesn''t do it for all clients, just a few of them. > > If it''s puppetd or puppet, then that''s strange because I''ve not > seen either > of those two go resource-hungry particularly, although if you were > transferring massive numbers of files (especially large files) over > a LAN > that could account for it. > > It''d be useful to know exactly what''s causing the problem and how > you''re > using Puppet (manifests, files, etc) so we can give more detailed > help. > > - Matt > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-usersBarrow Kwan ThoughtWorks Inc 410 Townsend St, 4th Floor San Francisco, CA 94107 USA (415)869-3103 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Sep 20, 2007, at 12:15 AM, Barrow Kwan wrote:> try to run puppet client with --debug switch and found at least one > thing that is causing the high CPU usage and it also take like > 30seconds to 1 minutes to run > > debug: Executing ''/usr/bin/test -d /var/lib/svn/repos/projectA'' > > ( still looking for any other things that is causing this HIGH CPU > usage ...)My guess is that it''s the thing after that test that is taking so much CPU; either that, or your system is entirely whacked, because ''test'' should be unobservably fast. Are you using Yum? It takes about 30 seconds minimum to do anything at all. -- I''m seventeen and I''m crazy. My uncle says the two always go together. When people ask your age, he said, always say seventeen and insane. -- Ray Bradbury --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com