[chef] swap consuming bug in cookbook_file, chef-solo v10.26, SmartOS


Chronological Thread 
  • From: Yonah Russ < >
  • To:
  • Subject: [chef] swap consuming bug in cookbook_file, chef-solo v10.26, SmartOS
  • Date: Sun, 30 Jun 2013 16:21:07 +0300

Hi,

I have a simple resource as follows:

cookbook_file "/opt/local/share/da.json" do
   source "da.json"
    owner "root"
    group "root"
    mode "0644"
    action :create_if_missing
    notifies :reload, resources(:service => "apache")
end

The source file is 8MB.
When chef needs to create this file, it suddenly consumes 750+MB of swap.

Is this a known bug? Any recommendations on a workaround other than not using cookbook_file?

Thanks,
Yonah



Archive powered by MHonArc 2.6.16.

§