I have virtual server with Debian/Lenny in OpenVZ container. I try configure it with puppet. When puppetd starts to do its work, I see strange behaviour of programs in container: - apt-get can''t get updates and waits infinite of updates from a mirror site; - bacula-director can''t autorize a bacula console, - bacula console waits infinite for connection to a bacula director, that runs in the same OpenVZ container. When I stop puppetd, all thing goes allright. My puppetd/puppetmaster versions is 0.24.5 from Debian/Lenny distribution. How can I find what is goes wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Marcin Owsiany
2009-Apr-04 10:12 UTC
[Puppet Users] Re: Strange behaviour in OpenVZ container
On Sat, Apr 04, 2009 at 12:55:36AM -0700, sOliver wrote:> - apt-get can''t get updates and waits infinite of updates from a > mirror site; > - bacula-director can''t autorize a bacula console, > - bacula console waits infinite for connection to a bacula director, > that runs in the same OpenVZ container. > > When I stop puppetd, all thing goes allright. > > My puppetd/puppetmaster versions is 0.24.5 from Debian/Lenny > distribution. > > How can I find what is goes wrong?Use strace and/or tcpdump to find out what the programs are actually waiting for. -- Marcin Owsiany <marcin@owsiany.pl> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> Use strace and/or tcpdump to find out what the programs are actually > waiting for.My eyes have been opened by /proc/user_beancounters. When I have seen a follow line: uid resource held maxheld barrier limit failcnt tcprcvbuf 1296 149760 524288 1048576 13967 all ghosts has disappeared. Virtual resource was not enough to get puppet configuration. I enlage number of tcprcvbuf and things goes allright. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
robin@kallisti.net.nz
2009-Apr-11 10:32 UTC
[Puppet Users] Re: Strange behaviour in OpenVZ container
On 6 apr, 23:23, sOliver <soliv...@gmail.com> wrote:> My eyes have been opened by /proc/user_beancounters. When I have seen > a follow line: > > uid resource held > maxheld barrier limit failcnt > tcprcvbuf 1296 > 149760 524288 1048576 13967 > > all ghosts has disappeared. > > Virtual resource was not enough to get puppet configuration. > > I enlage number of tcprcvbuf and things goes allright.That won''t solve your problem, it''ll just make it take longer to happen again. I found that upgrading to 0.24.8 fixed it. Earlier versions leak connection handles, you can verify this with netstat - you''ll see a whole lot of CLOSE_WAIT on the client side, along with "Other end went away - reconnecting" in the logs. Robin. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---