[Lxc-users] starting a container causes Xorg to consume 100% cpu

Daniel Lezcano daniel.lezcano at free.fr
Tue Jun 22 16:45:47 UTC 2010


On 06/22/2010 05:32 PM, Stuart Nixon wrote:
> Hello LXCers
>
> When ever I start a lxc container the hosts Xorg process starts
> consuming 100% cpu time.
>
> Is this a known issue? Are there any work-arounds to avoid this behaviour?
>
> all tty* gettys have been commented out from the containers inittab
>
> -------container config------------
> lxc.utsname =<name>
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.ipv4 =<ipaddress>
> lxc.network.name = eth0
> lxc.mount =<thefstab>
> lxc.rootfs =<therootfs>
> lxc.pts = 1
> lxc.tty = 1
> -----end container config---------
>    

Yep, I got this problem too. It seems there is an interaction between 
the container and Xorg with the tty7.
I didn't figured why yet. What container template and distro are you 
using ?

Thanks
   -- Daniel




More information about the lxc-users mailing list