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


Chronological Thread 
  • From: Joe Nuspl < >
  • To:
  • Subject: [chef] Re: chef-server 11.0.12 tuning guide?
  • Date: Mon, 12 May 2014 14:54:14 -0700

I bumped those up and things have improved.

Could someone explain:

erchef['max_cache_size'] Default value: 10000.

Is this max number of objects?  Total bytes cached?  Max size of any single object in the cache?

Joe

On May 10, 2014, at 3:54 PM, Seth Falcon < "> > wrote:

Hi Joe,

Joe Nuspl < "> > writes:
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?

One part of the config that limits the number of concurrent connections
an erchef server is able to handle is the db connection pool
size. Without seeing more details on logs and such, my first guess is
that the erchef server is exhausting its db connection pool.

You can tune the db connection pool and the max connections allowed by
postgres.

   erchef['db_pool_size'] = 100
   postgresql['max_connections'] = 200

+ seth

--
Seth Falcon | Engineering Lead - Continuous Delivery | @sfalcon
        CHEF | http://www.getchef.com/





Archive powered by MHonArc 2.6.16.

§