[chef] Re: Re: RE: Re: RE: Re: chef-client massive memory usage spikes


Chronological Thread 
  • From: Max Gorbul < >
  • To:
  • Subject: [chef] Re: Re: RE: Re: RE: Re: chef-client massive memory usage spikes
  • Date: Mon, 23 Jan 2012 18:48:45 -0800

I noticed high usage of memory when exception happens and exception handlers dumps the run_state to json.
This has happened only when I had notification definitions inside LWRP. For example

--- providers/foo.rb --

action :create do
   
    template new_resource.name do
       source "foo.erb"
       notifies :restart, "service[zoo]"
    end

end

--max

On Mon, Jan 23, 2012 at 2:36 PM, Brian Akins < "> > wrote:
We had the same issue. It seemed to happen with searches that returned lots of nodes.  Also, occasionally when we got exceptions.  We just used monit which we were using for other things to restart chef when it was about x MB of RAM 3/5 cycles.




Archive powered by MHonArc 2.6.16.

§