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


Chronological Thread 
  • From: Cassiano Leal < >
  • To: < >, < >
  • Cc:
  • Subject: [chef] Re: 100% CPU usage of Chef-server beam.smp
  • Date: Wed, 28 Aug 2013 12:42:57 -0300

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.
--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal



Archive powered by MHonArc 2.6.16.

§