[chef] Re: Re: Chef Server Slowing Down


Chronological Thread 
  • From: Mark Mzyk < >
  • To:
  • Subject: [chef] Re: Re: Chef Server Slowing Down
  • Date: Mon, 29 Dec 2014 16:14:18 -0500

To elaborate on Noah's point, 11.0 introduced an Erlang based depsolver for cookbooks. The thinking was that this depsolver, while less robust, would be faster and allow for easier installs of the server, since it didn't rely on gecode. It was thought that the edge cases that gecode handled that the Erlang depsolver didn't would only affect a few people. That was a bad assumption. It turns out that many cookbooks have dependencies that are hard to solve for and the Erlang depsolver wasn't up to the task, where as gecode was. With the 11.1 release the server switched back to using gecode. Noah is right that upgrade to at least 11.1 should help you out. If you don't want to jump straight to 12, which is a more involved upgrade process, you can upgrade to 11.1+ by installing the package and then using the chef-server-ctl upgrade.

http://docs.chef.io/open_source/upgrade_server_open_source.html

Upgrading to 11.1+ will also help when you transition to 12, since the upgrade process to get to 12 is designed for 11.1+ and is known to not currently work with older versions of the server.

The release notes for the 11.1 release are found here, for reference: http://docs.chef.io/release/osc_11-1/release_notes.html

Also note I've assumed you're running the open source version of the server and that we're not talking about the enterprise version (with 12, these versions are one and the same).

- Mark Mzyk



" type="cite">
" photoname="Noah Kantrowitz" src="jpgPuoDLHFcOe.jpg" name="postbox-contact.jpg" height="25px" width="25px">
December 29, 2014 at 2:54 PM

Likely runaway depsolvers, try not running a thoroughly outdated version. 11.1.0 had the fix for that issue in particular.

--Noah

" photoname="Douglas Garstang" src="jpgrIHx1WEsIP.jpg" name="compose-unknown-contact.jpg" height="25px" width="25px">
December 29, 2014 at 2:44 PM
I've noticed that my chef server, which is running version 11.0.12-1, slows down over time. It takes about a week to become totally unresponsive. A reboot fixes the issue every time. Affects cookbook uploading and client communication. Hasn't just happened once, but repeatedly.

Is this a known issue? Would rather not upgrade right now unless someone can point me to a specific bug. Running on Amazon Linux 2014-09, obviously on EC2.

Doug



Archive powered by MHonArc 2.6.16.

§