[lxc-users] Setting kernel.shmmax in unprivileged containers.

2014-07-29 Thread Tiit Kaeeli
Hi, I am having a little issue setting kernel.shmmax in LXC unprivileged containers (lxc=1.0.4-0ubuntu0.1) In https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1021411 it is stated, that it should be possible since lxc 0.7.5-3ubuntu60 At least there is no information, that it will only apply

[lxc-users] Centos-7 x86_64 container slow and buggy start

2014-07-29 Thread mxs kolo
I create container with centos-7 x86_64 from download image: # lxc-create -t download -n ce7 -B lvm --lvname=ce7 --vgname=data --fstype=xfs --fssize=10G -- --release 7 --dist centos --arch amd64 When start without detach, it hold on next stage: # lxc-start -n ce7 systemd 208 running in syste

[lxc-users] Centos-7 x86_64 container not limit memory inside and show cgroups from node

2014-07-29 Thread mxs kolo
HI all I create centos-7 container with lxc-centos template: #lxc-create -t centos -n ce7-2 -B lvm --lvname=ce7-2 --vgname=data --fstype=xfs --fssize=10G -- --release 7 --arch x86_64 After start, in container showed /sys/fs/cgroups from hardware node: [root@ce7-2 /]# find /sys/fs/cgroup/ -

[lxc-users] Centos-7 x86_64 container - systemd-journald process eat CPU

2014-07-29 Thread mxs kolo
HI all When container with centos-7 x86_64 started, process systemd-journald eat cpu in next loop: epoll_wait(7, {{EPOLLIN|EPOLLERR|EPOLLHUP, {u32=8, u64=8}}}, 1, -1) = 1 writev(2, [{"/dev/kmsg buffer overrun, some messages lost.", 45}, {"\n", 1}], 2) = 46 read(8, "", 8192)

Re: [lxc-users] Centos-7 x86_64 container - systemd-journald process eat CPU

2014-07-29 Thread Michael H. Warfield
On Tue, 2014-07-29 at 20:37 +0400, mxs kolo wrote: > HI all > When container with centos-7 x86_64 started, process systemd-journald > eat cpu in next loop: That's a journald problem that they (systemd) had claimed (in their bugzilla report) was fixed. Had something to do with object id's and or

[lxc-users] Setting kernel.shmmax in unprivileged containers.

2014-07-29 Thread Tiit Kaeeli
Hi, I am having a little issue setting kernel.shmmax in LXC unprivileged container (lxc=1.0.4-0ubuntu0.1) In https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1021411 it is stated, that it should be possible since lxc 0.7.5-3ubuntu60 At least there is no information, that it will only apply t

[lxc-users] Unable to SSH into LXC on Host PC

2014-07-29 Thread Zhong Jiang
I'm using network-manager to connect to the internet and whenever I'm trying to SSH into my debian container, it produces an error of unknown name or service. This most likely caused by the container using the same network stack on the host and shares the same IP address. Bridging requires editi

Re: [lxc-users] Unable to SSH into LXC on Host PC

2014-07-29 Thread brian mullan
Zhong Jiang.. Normally I'd go to Stephane Graber's web blog but I can't reach it right now. However, another really good blog post on LXC networking can be found here: http://containerops.org/2013/11/19/lxc-networking/ In his examples he uses vagrant w/lxc but if you ignore the references the v