[chef] Re: Re: knife command very slow


Chronological Thread 
  • From: Cassiano Leal < >
  • To: < >, John Dewey < >
  • Cc:
  • Subject: [chef] Re: Re: knife command very slow
  • Date: Thu, 15 Aug 2013 17:35:28 -0300

It totally did!

After cleaning up, time went down to 0.54s. After installing chefspec, this time doubled. Still acceptable, but I wouldn’t expect that this gem would increase the time. knife-ec2 increases about .02s to the run time.

Thanks for the help, this makes things much more tolerable! :)

On August 15, 2013 at 17:10:57, John Dewey ( ) wrote:

I have run into this before.  Was due to many gems installed.
Does this help?
  http://lists.opscode.com/sympa/arc/chef/2011-05/msg00041.html

On Thursday, August 15, 2013 at 1:01 PM, Cassiano Leal wrote:

Hi,

I’m having a bit of a hard time here.

Any knife command I issue takes approximately 15s to run. I’ve ruled out network issues by running knife by itself (http://pastie.org/8240023).

If I ‘top’ during the knife execution I can see a ruby process taking up a whole CPU core.

How can I profile that to find out what’s taking so long to process?


--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal



Archive powered by MHonArc 2.6.16.

§