https://bugzilla.wikimedia.org/show_bug.cgi?id=70971

            Bug ID: 70971
           Summary: puppet agent on labs-vagrant instance using 99% of
                    CPU, looking for git::clone.rb
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Infrastructure
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

After successfully provisioning the labs-vagrant instance flow-tests.wmflabs
(see bug 70967), I rebooted it.

It came up OK but terribly slow. `top` showed puppet agent at 99% of CPU for
minutes.  I killed it, then the next cron.d run also chewed up CPU. I killed
that and ran the puppet agent command line from a terminal; it gets so far as

Info: Applying configuration version '1410992606'
Notice: /Stage[first]/Apt::Update/Exec[/usr/bin/apt-get update]/returns:
executed successfully

and never prints anything more, while at 99% of CPU.

strace shows it's endlessly stat()ing the same set of 18 paths for
lib/puppet/type/git::clone.rb. It stat()s
"/var/lib/puppet/lib/puppet/type/git::clone.rb" twice for each time it stat()s
the other 17 paths, such as "/usr/lib/ruby/1.9.1/puppet/type/git::clone.rb",
"/usr/lib/ruby/1.9.1/x86_64-linux/puppet/type/git::clone.rb", etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to