[DRE-maint] Bug#778303: chef: Memory leak

Piotr Panczyk piotr.panczyk at assecobs.pl
Fri Feb 13 11:37:19 UTC 2015


Package: chef
Version: 10.12.0-3
Severity: important

Dear Maintainer,
Chef Client causes memory leak when run as a daemon. Just after start,
the process uses about 30 MB of RAM. Then this amount rises with each
client run. After a week (before logrotate restarts the daemon), the
usage is at about 500 MB. The exact value depends on cookbooks/recipies
used on the node.

As I know, the problem was fixed in Chef Client version 10.14 by
introducing forking for each client run.

Greetings,
Piotr

-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.bsd54h0 (SMP w/24 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages chef depends on:
ii  debconf [debconf-2.0]         1.5.49
ii  ohai                          6.14.0-2
ii  ruby                          1:1.9.3
ii  ruby-bunny                    0.7.8-1
ii  ruby-erubis [erubis]          2.7.0-2
ii  ruby-highline                 1.6.13-2
ii  ruby-json                     1.7.3-3
ii  ruby-mixlib-authentication    1.1.4-2
ii  ruby-mixlib-cli               1.2.2-2
ii  ruby-mixlib-config            1.1.2-3
ii  ruby-mixlib-log               1.4.1-1
ii  ruby-mixlib-shellout          1.0.0-2
ii  ruby-moneta                   0.6.0-4
ii  ruby-net-ssh                  1:2.5.2-2
ii  ruby-net-ssh-multi            1.1-2
ii  ruby-rest-client              1.6.7-3
ii  ruby-treetop                  1.4.10-5
ii  ruby-uuidtools                2.1.2-2
ii  ruby-yajl                     1.1.0-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+deb7u3
ii  ucf                           3.0025+nmu3

chef recommends no packages.

chef suggests no packages.

-- Configuration Files:
/etc/default/chef-client changed:
LOGFILE=/var/log/chef/client.log
CONFIG=/etc/chef/client.rb
INTERVAL=1800
SPLAY=300


-- debconf information excluded



More information about the Pkg-ruby-extras-maintainers mailing list