[lxc-users] LXC leaking ptys?

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jul 15 14:24:32 UTC 2014


Quoting Harald Dunkel (harald.dunkel at aixigo.de):
> On 07/15/14 06:04, Serge Hallyn wrote:
> > 
> > The lxc.pts is actually only used in that setting it to 0 will
> > not mount a /dev/pts.  Setting it to 1024 is the same as setting
> > it to 1.
> > 
> 
> I see. The important point is that its a private pool.
> 
> The Centos template has set lxc.autodev = 0. I haven't seen this
> in the generated config files for Debian. Is autodev=0 still the
> default, as lxc.container.conf(5) seems to indicate?
> 
> >> The server is running 31 containers at the moment, so I wouldn't
> >> be surprised to run into some limitation. But I wonder wth?
> > 
> > Me too.  Nothing in /var/log/auth.log or syslog?
> > 
> 
> Nothing unusual. The log files show a lot of ssh sessions run by
> our monitoring software (active just for a few milliseconds), plus
> my own ssh sessions for maintenance. Thats all.

Ah, interesting.  That could be fun to try to reproduce.  But I
would expect that to be transient, so that the monitoring software
could just retry, by which point the other very-short connections
should be closed and new connections should succeed...

> After the 2 incidents I moved the centos containers to another server.
> I couldn't reproduce the problem on this host by now, but of course
> it has a different load.
> 
> 
> Regards
> Harri
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list