puppet agent memory useage

419 views
Skip to first unread message

datastream

unread,
Sep 23, 2011, 7:01:43 AM9/23/11
to puppet...@googlegroups.com
Hi,
   Three days ago i notice puppet agent in many node use a lot of memory(some nodes about 1G),and many of them start at April 23.  All system is debian 6.0.2/amd64(puppet 2.6.5-2,facter  1.5.7 ), everything is up to date.After restart puppet, in three days, memory usage grows from 56M to 129M(RES).  Is there any workaround way to keep memory usage stable? Or just use crontab instead.



Thanks,
datastream

Martin Alfke

unread,
Sep 23, 2011, 12:56:57 PM9/23/11
to puppet...@googlegroups.com
Hi,

On 23.09.2011, at 13:01, datastream wrote:

> Hi,
> Three days ago i notice puppet agent in many node use a lot of memory(some nodes about 1G),and many of them start at April 23. All system is debian 6.0.2/amd64(puppet 2.6.5-2,facter 1.5.7 ), everything is up to date.After restart puppet, in three days, memory usage grows from 56M to 129M(RES). Is there any workaround way to keep memory usage stable? Or just use crontab instead.

We had the same behavior on different platforms (RHEL, OEL, SLES).
Mostly this increased memory usage was due to a memory leak in ruby.

On some platforms we upgraded ruby to version 1.8.7 patchlevel 334.
On older systems (like RHEL4) we created a daily cronjob which restarts puppet.

Martin

Aaron Grewell

unread,
Sep 23, 2011, 6:26:23 PM9/23/11
to puppet...@googlegroups.com
We're running Puppet via cron instead of daemonized which eliminates these kinds of issues.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.


Reply all
Reply to author
Forward
0 new messages