[chef] Application cookbook memory leak


Chronological Thread 
  • From: Karol Hosiawa < >
  • To:
  • Subject: [chef] Application cookbook memory leak
  • Date: Thu, 22 Nov 2012 10:59:04 +0100

I'm using

https://github.com/opscode-cookbooks/application

and

https://github.com/opscode-cookbooks/application_ruby

to deploy about 60 apps on different nodes
running chef-client every 30 minutes as a service.
After a few hours the chef-client process uses 500MB, after a day more
than 1 GB.
I have 14 nodes and only the ones that have the "application" cookbook
in the run list leak memory.

I've not been able to pin point the leak yet, my initial
investigation points to the implementation of
def method_missing here:

https://github.com/opscode-cookbooks/application/blob/master/resources/default.rb

but I've not confirmed yet.

I just wanted to ask if anyone else noticed it as well ? If no one else has
then it suggests it's something specific to my setup and I should be looking
for the leak somewhere else.

Thanks
Karol



Archive powered by MHonArc 2.6.16.

§