[chef] Re: Re: Re: Re: chef-client memory usage


Chronological Thread 
  • From: Chris < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: chef-client memory usage
  • Date: Fri, 9 Dec 2011 08:45:01 -0800

I've been working on disabling plugins, but it doesn't seem to be working. I've added these to client.rb, but when running the client with debug output they still get loaded. Does order matter?

Ohai::Config[:disabled_plugins] = ["passwd"]
Ohai::Config[:disabled_plugins] = ["rackspace"]
Ohai::Config[:disabled_plugins] = ["dmi"]
Ohai::Config[:disabled_plugins] = ["dmi_common"]
Ohai::Config[:disabled_plugins] = ["erlang"]
Ohai::Config[:disabled_plugins] = ["groovy"]
Ohai::Config[:disabled_plugins] = ["php"]
Ohai::Config[:disabled_plugins] = ["eucalyptus"]
Ohai::Config[:disabled_plugins] = ["network_listeners"]
Ohai::Config[:disabled_plugins] = ["mono"]

On Fri, Dec 9, 2011 at 8:34 AM, Daniel DeLeo < "> > wrote:


On Friday, December 9, 2011 at 7:46 AM, Chris wrote:

> ruby 1.8.7 (2011-02-18 patchlevel 334) -- CentOS 5.5(mostly)

Disabling unneeded ohai plugins will probably provide the biggest benefit:

http://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins

You can also experiment with Ruby Enterprise Edition. The changes to memory allocation and GC tend to reduce heap fragmentation, which will in turn reduce RSS when chef-client is sleeping.

--
Dan DeLeo




--
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.



Archive powered by MHonArc 2.6.16.

§