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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VAOqkpdMdbAJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
We''re running Puppet via cron instead of daemonized which eliminates these kinds of issues. On Fri, Sep 23, 2011 at 9:56 AM, Martin Alfke <tuxmea@gmail.com> wrote:> 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 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.