Hi Matt, On Wed, Mar 7, 2012 at 2:58 PM, Matt Mencel <m...@techminer.net> wrote:
> I recently noticed that the Windows host where I installed the Puppet > agent for testing was thrashing the CPU. > > The culprit ended up being Ruby.exe *32 - "Ruby interpreter (CUI) > 1.8.7.334 [i386-mingw32]". This is actually being launched by the > puppet-agent service in Windows. > Did you install the service as described in the wiki page with nssm? Or did you install the MSI, which installed the service for you? If it's the former, what version of puppet are you using? > The CPU on the host was pegged around 50% all day long. When I shut down > the puppet-agent it went down to a reasonable level...hovering in the low > single digits most of the time. > > Start puppet-agent and CPU Usage (on both CPUs in a 2vCPU host) > immediately pegs to 40%-60%....stop puppet-agent and it drops to near zero. > > Is this a known issue? Puppet-agent eating up tons of CPU time (via the > ruby interpreter)? > What happens if you stop the puppet-agent service and launch cmd.exe with elevated privileges (Run as Administrator), then try running: 1. facter.bat --timing 2. puppet.bat agent --test --debug This host is a Windows 2008 VMware VM (VSphere 5) with 2vCPUs and 4GB of > RAM assigned. It has no CPU or Memory resource limits (set to unlimited). > No reservations (set to 0). CPU and memory resource shares are set to > "High". VMware Tools are installed, running, and current. > Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.