Chef Server tuning: What works for us

Just wanted to share this in case someone finds it useful.

  • We have 1500 nodes reporting in every hour (with 5 minutes of splay) to our single 12.2.0 server (1-tier, all weight on the 1 server).
  • Server is RHEL6, 16GB and 8 cores
  • We barely use data bags
  • We barely use search
  • I don’t claim that these are fine-tuned and perfect.
opscode_erchef['db_pool_size'] = 40
opscode_erchef['db_pool_queue_max'] = 120
opscode_erchef['db_pooler_timeout'] = 2000
oc_bifrost['db_pool_size'] = 40
oc_bifrost['db_pooler_timeout'] = 2000
opscode_erchef['depsolver_pool_queue_max'] = 10
opscode_erchef['depsolver_pooler_timeout'] = 100000
opscode_solr4['heap_size'] = 4096
postgresql['max_connections'] = 800
opscode_erchef['nginx_bookshelf_caching'] = ":on"
opscode_erchef['s3_url_expiry_window_size'] = "100%"
oc_chef_authz['http_init_count'] = 50
oc_chef_authz['http_max_count'] = 120
1 Like

Thanks for sharing!