[lxc-users] LXC leaking ptys?

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jul 15 04:04:45 UTC 2014


Quoting Harald Dunkel (harald.dunkel at aixigo.de):
> Hi folks,
> 
> is it possible that LXC is leaking ptys? I have seen it twice
> by now that a "lxc-start -n centos65_host" got stuck. When I
> tried to open another ssh session to the LXC server, then ssh
> reported
> 
> 	stdin: not a tty
> 
> I could login, though.
> 
> max_pty on the server is 4096; the containers are configured with
> lxc.pts 1024.

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.

> 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?

> Shouldn't LXC print out some error message instead of going Guru?
> 
> Every helpful comment would be highly appreciated
> 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