[chef] Re: chef-server 11.0.12 tuning guide?


Chronological Thread 
  • From: Mark Mzyk < >
  • To:
  • Subject: [chef] Re: chef-server 11.0.12 tuning guide?
  • Date: Thu, 08 May 2014 22:47:17 -0400

Hey Joe,

Based on the load your describing I wouldn't expect the Chef server to be having difficulty, especially if the 10.x version, which was much more inefficient, handled it. It's hard for me to tell from what you posted what the issue might be. It sounds like the server works sometimes, but fails other times under load? If you check the erchef logs, do they provide any more info? It's also possible you could be hitting something like a postgres connection limit, so I'd suggest checking the postgres logs as well.

As far as docs on tuning, I don't believe we have anything specific to open source. We lay out many of the options you can tweak here: http://docs.opscode.com/config_rb_chef_server.html

Note there is a link at the bottom of that page to even more options.

Enterprise Chef has a tuning guide that might be of some help: http://docs.opscode.com/server_tuning.html

While open source and enterprise chef share the same core, it's not a one for one equivalence between options, so you might need to do some inference to determine what applies and what doesn't. Also note that enterprise is typically run in a tiered and HA setup, whereas open source is typically run on a single host (which I infer is what you're doing, based on the localhost url for erchef).

If that doesn't help, reply back with any questions you have and we'll get it sorted out.

Mark Mzyk

" type="cite">
" photoname="Joe Nuspl" src="jpgCLIwy8ydv4.jpg" name="postbox-contact.jpg" height="25px" width="25px">
May 8, 2014 at 10:18 PM
I know 11.1.0 is right around the corner but I need something sooner…  Running open source chef-server 11.0.12 on CentOS-6.

We’re seeing a bunch of nginx timeouts accessing data bags.  For example:


If I’m understanding this correctly, nginx cannot create a connection to erchef.

I’ve found very little on tuning chef-server.  There is erchef['ibrowse_max_sessions’] but that would be for outbound connections, i.e  erchef->solr.  Is there a parameter for the number of incoming connections to erchef?

I have 1500 clients with a 15 minute splay.  So roughly 100 servers/minute with an average end-to-end chef-client run time of 43 seconds.

The same server running chef-10 with 10 merbs was able to keep up without issue.  11.0.8 was an improvement but it seems like 11.0.12 has regressed.

On this server we are not running into the depsolver issue.

Any help would be greatly appreciated.

Thanks.

Joe




Archive powered by MHonArc 2.6.16.

§