Hi I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with the server with the defaults of half an hour. Is it normal for the puppetmaster service to take around ~ *3GB* of RAM. # cat /etc/debian_version 7.1 # dpkg --list | grep -i puppet ii puppet-common 2.7.18-5 all Centralized configuration management ii puppetmaster 2.7.18-5 all Centralized configuration management - master startup and compatibility scripts ii puppetmaster-common 2.7.18-5 all Puppet master common scripts ii vim-puppet 2.7.18-5 all syntax highlighting for puppet manifests in vim # top | head -n7 top - 05:51:16 up 16:45, 2 users, load average: 1.00, 0.99, 0.87 Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 6.1 us, 0.1 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 6117052 total, 5807676 used, 309376 free, 69100 buffers KiB Swap: 0 total, 0 used, 0 free, 2348596 cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND # top | grep -i puppet 4161 puppet 20 0 *3198m* 3.0g 3256 R 98.6 52.1 183:16.28 puppet 4161 puppet 20 0 *3198m* 3.0g 3256 R 99.8 52.1 183:19.28 puppet ~# free -h total used free shared buffers cached Mem: 5.8G 5.5G *330M* 0B 67M 2.2G -/+ buffers/cache: 3.2G 2.6G Swap: 0B 0B 0B Now let me stop my puppetmaster to show that memory is in fact getting freed up. # /etc/init.d/puppetmaster stop [ ok ] Stopping puppet master. # ps aux | grep -i puppet root 9438 0.0 0.0 7828 892 pts/1 S+ 05:52 0:00 grep -i puppet # free -h total used free shared buffers cached Mem: 5.8G 2.5G *3.3G * 0B 67M 2.2G -/+ buffers/cache: 193M 5.6G Swap: 0B 0B 0B # -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
I found that others are also having similar problems. https://groups.google.com/forum/#!topic/puppet-users/o58A8nLyFWk On Tue, Jul 16, 2013 at 5:22 PM, setests setests <setests@gmail.com> wrote:> Hi > > I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with > the server with the defaults of half an hour. Is it normal for the > puppetmaster service to take around ~ *3GB* of RAM. > > # cat /etc/debian_version > 7.1 > # dpkg --list | grep -i puppet > ii puppet-common 2.7.18-5 all > Centralized configuration management > ii puppetmaster 2.7.18-5 all > Centralized configuration management - master startup and compatibility > scripts > ii puppetmaster-common 2.7.18-5 all > Puppet master common scripts > ii vim-puppet 2.7.18-5 all > syntax highlighting for puppet manifests in vim > > # top | head -n7 > top - 05:51:16 up 16:45, 2 users, load average: 1.00, 0.99, 0.87 > Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie > %Cpu(s): 6.1 us, 0.1 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > KiB Mem: 6117052 total, 5807676 used, 309376 free, 69100 buffers > KiB Swap: 0 total, 0 used, 0 free, 2348596 cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > # top | grep -i puppet > 4161 puppet 20 0 *3198m* 3.0g 3256 R 98.6 52.1 183:16.28 puppet > 4161 puppet 20 0 *3198m* 3.0g 3256 R 99.8 52.1 183:19.28 puppet > ~# free -h > total used free shared buffers > cached > Mem: 5.8G 5.5G *330M* 0B 67M > 2.2G > -/+ buffers/cache: 3.2G 2.6G > Swap: 0B 0B 0B > > Now let me stop my puppetmaster to show that memory is in fact getting > freed up. > > # /etc/init.d/puppetmaster stop > [ ok ] Stopping puppet master. > # ps aux | grep -i puppet > root 9438 0.0 0.0 7828 892 pts/1 S+ 05:52 0:00 grep -i > puppet > # free -h > total used free shared buffers > cached > Mem: 5.8G 2.5G *3.3G * 0B 67M > 2.2G > -/+ buffers/cache: 193M 5.6G > Swap: 0B 0B 0B > # > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
----- Original Message -----> From: "setests setests" <setests@gmail.com> > To: puppet-users@googlegroups.com > Sent: Wednesday, July 17, 2013 10:12:10 AM > Subject: [Puppet Users] Re: Puppetmaster 2.7.18-5 > > I found that others are also having similar problems. > > https://groups.google.com/forum/#!topic/puppet-users/o58A8nLyFWkyou should use Passenger to run the Puppet Master in production http://docs.puppetlabs.com/guides/passenger.html> > > On Tue, Jul 16, 2013 at 5:22 PM, setests setests <setests@gmail.com> wrote: > > > Hi > > > > I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with > > the server with the defaults of half an hour. Is it normal for the > > puppetmaster service to take around ~ *3GB* of RAM. > > > > # cat /etc/debian_version > > 7.1 > > # dpkg --list | grep -i puppet > > ii puppet-common 2.7.18-5 all > > Centralized configuration management > > ii puppetmaster 2.7.18-5 all > > Centralized configuration management - master startup and compatibility > > scripts > > ii puppetmaster-common 2.7.18-5 all > > Puppet master common scripts > > ii vim-puppet 2.7.18-5 all > > syntax highlighting for puppet manifests in vim > > > > # top | head -n7 > > top - 05:51:16 up 16:45, 2 users, load average: 1.00, 0.99, 0.87 > > Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie > > %Cpu(s): 6.1 us, 0.1 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, > > 0.0 st > > KiB Mem: 6117052 total, 5807676 used, 309376 free, 69100 buffers > > KiB Swap: 0 total, 0 used, 0 free, 2348596 cached > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > # top | grep -i puppet > > 4161 puppet 20 0 *3198m* 3.0g 3256 R 98.6 52.1 183:16.28 puppet > > 4161 puppet 20 0 *3198m* 3.0g 3256 R 99.8 52.1 183:19.28 puppet > > ~# free -h > > total used free shared buffers > > cached > > Mem: 5.8G 5.5G *330M* 0B 67M > > 2.2G > > -/+ buffers/cache: 3.2G 2.6G > > Swap: 0B 0B 0B > > > > Now let me stop my puppetmaster to show that memory is in fact getting > > freed up. > > > > # /etc/init.d/puppetmaster stop > > [ ok ] Stopping puppet master. > > # ps aux | grep -i puppet > > root 9438 0.0 0.0 7828 892 pts/1 S+ 05:52 0:00 grep -i > > puppet > > # free -h > > total used free shared buffers > > cached > > Mem: 5.8G 2.5G *3.3G * 0B 67M > > 2.2G > > -/+ buffers/cache: 193M 5.6G > > Swap: 0B 0B 0B > > # > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
I found 2.7 had a memory leak(s). If you wish to run as web brick I''d suggest restarting on a daily basis. I haven''t ran 3.x as web brick so I''m unsure if it''s still a problem, running puppet master with apache phusion has solved a lot of those problems for me. On Tuesday, July 16, 2013 9:52:24 PM UTC+10, setests setests wrote:> > Hi > > I am running Puppet version 2.7.18-5 with around ~ 100 nodes syncing with > the server with the defaults of half an hour. Is it normal for the > puppetmaster service to take around ~ *3GB* of RAM. > > # cat /etc/debian_version > 7.1 > # dpkg --list | grep -i puppet > ii puppet-common 2.7.18-5 all > Centralized configuration management > ii puppetmaster 2.7.18-5 all > Centralized configuration management - master startup and compatibility > scripts > ii puppetmaster-common 2.7.18-5 all > Puppet master common scripts > ii vim-puppet 2.7.18-5 all > syntax highlighting for puppet manifests in vim > > # top | head -n7 > top - 05:51:16 up 16:45, 2 users, load average: 1.00, 0.99, 0.87 > Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie > %Cpu(s): 6.1 us, 0.1 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > KiB Mem: 6117052 total, 5807676 used, 309376 free, 69100 buffers > KiB Swap: 0 total, 0 used, 0 free, 2348596 cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > # top | grep -i puppet > 4161 puppet 20 0 *3198m* 3.0g 3256 R 98.6 52.1 183:16.28 puppet > 4161 puppet 20 0 *3198m* 3.0g 3256 R 99.8 52.1 183:19.28 puppet > ~# free -h > total used free shared buffers > cached > Mem: 5.8G 5.5G *330M* 0B 67M > 2.2G > -/+ buffers/cache: 3.2G 2.6G > Swap: 0B 0B 0B > > Now let me stop my puppetmaster to show that memory is in fact getting > freed up. > > # /etc/init.d/puppetmaster stop > [ ok ] Stopping puppet master. > # ps aux | grep -i puppet > root 9438 0.0 0.0 7828 892 pts/1 S+ 05:52 0:00 grep -i > puppet > # free -h > total used free shared buffers > cached > Mem: 5.8G 2.5G *3.3G * 0B 67M > 2.2G > -/+ buffers/cache: 193M 5.6G > Swap: 0B 0B 0B > # > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.