Klaus Ethgen
2011-Jan-20 18:29 UTC
[Puppet Users] puppetmaster, sqlite and out of filedescriptors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I use puppet master with just a hand full of clients and storeconfig to a sqlite (v3) database. After several problems I decided to restart puppetmaster regularly cause it was more and more filedescriptors to the database until no more are awailable. With every connecting client one more filehandle is opened to the database. However, weeks ago I though that this is a problem of old version so I updated to 2.6.4 but the problem was not solved. As this problem ends in not usable puppetmaster I wounder that no one other has the same problem and/or how you fix it. Versions I use: Puppetmaster: 2.6.4 Clients: 0.24.8, 0.25.4, 2.6.4 (shouldn''t matter at all) Ruby: 1.8.7.p72 rubygem-sqlite3: 1.2.4 Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTTh/IZ+OKpjRpO3lAQpOwAf+LoN9c2urwgXjZkYgPrNEr2f2xYuJMhf/ 4391bVkcodmXjp+pNUZLnB2SVEfNzG0T9Mdmqb1TJZjOklveTqMyacViIaCcsG3Y RsJn7nhW9N+b9SV+a+Wv42XUyiVt9/ax2n+wGCj9O95WmsAUu/kCQZfubDhnzF41 o//FEea4KxonoApKxXzXaZvhGzzVRs/nf/zTpx7QnLXQnd3X/ucmismCoV7NuHjN vX7pawP6YIqLdcYO7pTclK4tfbNy2VE9XCA100OM+GSDP4cprl0Jw56ye9oHHKzc Dr+2ygeuiClzjCGh0sWTPl2BnL2vK34jSZ/HapV6zV/7qLarN1y/Jg==+2mh -----END PGP SIGNATURE----- -- 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.
Jeff McCune
2011-Jan-20 19:30 UTC
Re: [Puppet Users] puppetmaster, sqlite and out of filedescriptors
On Thu, Jan 20, 2011 at 10:29 AM, Klaus Ethgen <Klaus+puppet@ethgen.de> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hello, > > I use puppet master with just a hand full of clients and storeconfig to > a sqlite (v3) database. After several problems I decided to restart > puppetmaster regularly cause it was more and more filedescriptors to the > database until no more are awailable. With every connecting client one > more filehandle is opened to the database. > > However, weeks ago I though that this is a problem of old version so I > updated to 2.6.4 but the problem was not solved. > > As this problem ends in not usable puppetmaster I wounder that no one > other has the same problem and/or how you fix it. > > Versions I use: > Puppetmaster: 2.6.4 > Clients: 0.24.8, 0.25.4, 2.6.4 (shouldn''t matter at all) > Ruby: 1.8.7.p72 > rubygem-sqlite3: 1.2.4Klaus, What version of the ActiveRecord gem are you using? -- Jeff McCune http://www.puppetlabs.com/ -- 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.
Klaus Ethgen
2011-Jan-21 09:05 UTC
Re: [Puppet Users] puppetmaster, sqlite and out of filedescriptors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, Am Do den 20. Jan 2011 um 20:30 schrieb Jeff McCune:> What version of the ActiveRecord gem are you using?rubygem-activerecord-2_1-2.1.2-1.2 (It is a SuSI-System. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTTlMbJ+OKpjRpO3lAQrjiQf9Hsj1keQHwVBpmBqzPBD/fD/UjErF/p0m 2s6H03B5Fn074OtIC6dYIQb5ArChJlU5ogPfuVx8iwAKvxxJWi5q3QxcY0fu4sam AGak8U3q9PJWHPMxIpVORVxr0C2627BEAIs0KSZZ7w5UHRdCY9Ojhirv3QEMHXnc zqueL5IEi97hk/7v5hdA+5221MBAv+mmXeR2xTH9NvwAnbdGZTye1BOLFcho8gLr oRdawdH+3/AItvPNz8ouv4VUw1qrbMkziRmQvLbUJdakVXoElpE/rZZqNUsrAIp2 GbepLNZtAqhEAYj5l53CG6o85LiFuPltiaSEjYYj/pRHZETsNW0EeA==nIg1 -----END PGP SIGNATURE----- -- 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.
Klaus Ethgen
2011-Feb-09 11:27 UTC
Re: [Puppet Users] puppetmaster, sqlite and out of filedescriptors
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, is there any news about this issue? At the moment I still have to restart puppetmaster hourly. But if the clients getting more I have to shorten this interval more and more. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTVJ6Cp+OKpjRpO3lAQp4pggAskRJe8PqaFiaktAZYuyLq9TULlQ8odTs rXB2oX8sjOAqXPKIGIffTyiHKh3AqwtMOI1+WpW99gksIR0TWTINX++6cgFcASRU UQlN8tXS7AlCs2SGpcVOkOWH64JGJSEZ1zP1knSt7iBCqueCpa6fjKgzYPsmh505 Ic/ipHUrYyIJyyp9ek4WYbeR4jVpL5Uo1MaXKJNkkdEMZ1ketY0zQK5XrY9D2nqf wz72sySupPiX9ktJ4sNMShVcwcUDmTtCQdAEk8ebURf9sRGRHpNAdBw+6nqnMyZq 4/WqIKoacsF3PMGNfk7VX72KoQrXG19wVIORa8ihZt3g7KNUaGhoQA==nbmo -----END PGP SIGNATURE----- -- 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.
Ohad Levy
2011-Feb-09 13:37 UTC
Re: [Puppet Users] puppetmaster, sqlite and out of filedescriptors
Upgrade your activerecord gem.... Ohad On 2/9/11, Klaus Ethgen <Klaus+puppet@ethgen.de> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hello, > > is there any news about this issue? At the moment I still have to > restart puppetmaster hourly. But if the clients getting more I have to > shorten this interval more and more. > > Regards > Klaus > - -- > Klaus Ethgen http://www.ethgen.ch/ > pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de> > Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEVAwUBTVJ6Cp+OKpjRpO3lAQp4pggAskRJe8PqaFiaktAZYuyLq9TULlQ8odTs > rXB2oX8sjOAqXPKIGIffTyiHKh3AqwtMOI1+WpW99gksIR0TWTINX++6cgFcASRU > UQlN8tXS7AlCs2SGpcVOkOWH64JGJSEZ1zP1knSt7iBCqueCpa6fjKgzYPsmh505 > Ic/ipHUrYyIJyyp9ek4WYbeR4jVpL5Uo1MaXKJNkkdEMZ1ketY0zQK5XrY9D2nqf > wz72sySupPiX9ktJ4sNMShVcwcUDmTtCQdAEk8ebURf9sRGRHpNAdBw+6nqnMyZq > 4/WqIKoacsF3PMGNfk7VX72KoQrXG19wVIORa8ihZt3g7KNUaGhoQA=> =nbmo > -----END PGP SIGNATURE----- > > -- > 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.