[chef] Re: Re: 100% CPU usage of Chef-server beam.smp


Chronological Thread 
  • From: Aaron Binford < >
  • To: " " < >, " " < >
  • Subject: [chef] Re: Re: 100% CPU usage of Chef-server beam.smp
  • Date: Wed, 28 Aug 2013 10:56:11 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Had this happen to me a few weeks ago. Ended up going nuclear, removing all of my cookbooks and then re-uploading them. In any event, it was the push I needed to start using berkshelf.

From the reading I did, it seems that if you pin an object to a specific version of a cookbook an then that cookbook goes missing or is removed in favor of a newer one, chaos ensues. I'm sure it had to do with the dramatic jump in the version on the osx community cookbook, but I didn't have the time to burn tracking it down.




Usually when I see this issue it’s because Chef cannot resolve all cookbook dependencies.

Unfortunately, I haven’t found an easy and practical way to check that apart from actually looking down the cookbook dependency tree until I find the culprit.

To get the chef server back to normal CPU usage, restart it. If you try to run the chef client without solving the issue, the CPU will once again be consumed by beam.smp.

Good luck!

On August 28, 2013 at 11:54:32, "> ( "> ) wrote:

Hi. Today I encountered with broken bootstrap process on my Chef at AWS. The
simple bootstrap command stuck and then I got these errors.

http://pastebin.com/qUrJnz6h

The command was:

knife ec2 server create -N oss22.host.com -x root -E prod -i
~/.ssh/key-08-2013.pem -Z us-east-1b -g default -f m1.small -S key-08-2013 -r
"role[base_server],recipe[nexus],recipe[etc_hosts]"

The main point is in the server the process beam.smp began to consume 100% CPU.

It's reproducible issue. Some info from this affected erlang process, I hope
will be helpful:

http://pastebin.com/N7g16195

The chef server version=11.0.2;erchef=1.2.6, chef-client 11.4.4.



Archive powered by MHonArc 2.6.16.

§