[chef] Re: Re: Investigating slow chef-solo startup times


Chronological Thread 
  • From: Ketan Padegaonkar < >
  • To:
  • Subject: [chef] Re: Re: Investigating slow chef-solo startup times
  • Date: Thu, 10 Jul 2014 07:57:10 -0300

We are not doing ldap. Further investigation revealed that the ohai cloud  /filesystem/network plugins were taking most of this time. Disabling these shaved about 4 seconds off the startup time.

I could provide the the timings for these plugins if anyone is interested about it a bit more.

On Jun 30, 2014 4:23 PM, "Seth Vargo" < "> > wrote:
Are you connected using LDAP? 9/10 times, it's LDAP loading users/groups.

Thanks,
Seth

> On Jun 28, 2014, at 7:36 AM, Ketan Padegaonkar < "> > wrote:
>
> Hi –
>
> We're noticing that chef solo is taking very long (9-11 seconds) to run for what seem like a small set of recipes that create a few files (we do not do any network IO as part of that chef run)
>
> Looking at the logs, it seems most of the time is spent during startup. Are there any tips and tricks to improve startup time?
>
> If it helps, we're running the latest (v11.12.8) installed via omnibus on a centos 6.5 OpenVZ guest.
>
> - Ketan
>




Archive powered by MHonArc 2.6.16.

§