On Tue, Nov 15, 2011 at 7:16 PM, Klaus Ethgen <klaus+use...@ethgen.de> wrote: > Hello, > > I am not sure if I trigger a bug and if so it could also be in ruby > sqlite3 backend. However, maybe I do something totally wrong. > > I have the following part in puppet.conf: > [master] > storeconfigs = true > dblocation = /var/lib/puppet/state/clientconfigs.sqlite3 > dbadapter = sqlite3 > > Now every time a client (agent in puppet speak) is run I get one more > connection to the database: > > lsof -np $(pgrep puppet) > ... > puppet 23542 puppet 7u IPv4 1180771 0t0 TCP *:8140 > (LISTEN) > puppet 23542 puppet 9w REG 252,1 71 2621 > /var/log/puppet/rails.log > puppet 23542 puppet 10u REG 252,1 156672 2684 > /var/lib/puppet/state/clientconfigs.sqlite3 > puppet 23542 puppet 11u REG 252,1 156672 2684 > /var/lib/puppet/state/clientconfigs.sqlite3 > > Next run: > > lsof -np $(pgrep puppet) > ... > puppet 23542 puppet 7u IPv4 1180771 0t0 TCP *:8140 > (LISTEN) > puppet 23542 puppet 9w REG 252,1 71 2621 > /var/log/puppet/rails.log > puppet 23542 puppet 10u REG 252,1 156672 2684 > /var/lib/puppet/state/clientconfigs.sqlite3 > puppet 23542 puppet 11u REG 252,1 156672 2684 > /var/lib/puppet/state/clientconfigs.sqlite3 > puppet 23542 puppet 12u REG 252,1 156672 2684 > /var/lib/puppet/state/clientconfigs.sqlite3 > > And so on until the maximum is reached and the puppetmaster do not work > anymore. > > I encountered this bug with many versions on different linux > distributions. For example: > Ubuntu 10.04 > Puppet 2.7.6 > libsqlite3-ruby1.8 1.2.4-2.1 > > Do anybody has an idea what I can do to handle that? which version of activerecord? might wan tot try upgrading it
> > -- Klaus > -- > Klaus Ethgen http://www.ethgen.ch/ > pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <kl...@ethgen.de> > Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C > > -- > 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.