<div dir="ltr">We havent tested without the bind mounts ( but we can probably try it asap ). We migrated to 1.0.0 from 0.7.5 about a week ago, and this is the first time i've seen this bug.<div><br></div><div>`grep shared /proc/self/mountinfo` doesnt show anything, but `/proc/self/mountinfo` does display 2 entries per physical container ( i guess because of the bind mounts ):</div>
<div><br></div><div>```</div><div><div>1766 39 0:764 / /disk1/container-name rw,relatime - aufs none rw,si=70f12540eaf98716</div><div>1768 38 0:764 / /var/lib/lxc/container-name rw,relatime - aufs none rw,si=70f12540eaf98716</div>
</div><div>```</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 12, 2014 at 10:14 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So does the same thing happen if you don't have the<br>
/var/lib/lxc/container bind mount, and instead do<br>
<br>
lxc-start -P /desk1 -n container<br>
<br>
?<br>
<br>
does 'grep shared /proc/self/mountinfo' show anything?<br>
<div><div class="h5"><br>
Quoting Dao Quang Minh (<a href="mailto:dqminh89@gmail.com">dqminh89@gmail.com</a>):<br>
> Hi,<br>
><br>
> We run a ( sort of ) unconventional FS layout with aufs.<br>
><br>
> bind-mount aufs<br>
> /var/lib/lxc/container <------- /disk1/container<----+----+ base<br>
> |<br>
> +----+ delta<br>
><br>
> The container is then started as usual with lxc-start. `/disk1` and<br>
> `/var/lib/lxc` are ext4 disks.<br>
><br>
> Daniel.<br>
><br>
> >Dear Daniel,<br>
> ><br>
> >may you please add some information about the type and layout of filesystems involved to get an idea what kind of mount operations are involved. I guess it's some bug in the FS layer while LXC doing the mounts.<br>
> ><br>
> >thank you<br>
> ><br>
> >Guido<br>
> ><br>
> >>-----Original Message-----<br>
> >>From: lxc-users-bounces at <a href="http://lists.linuxcontainers.org" target="_blank">lists.linuxcontainers.org</a> [mailto:<a href="mailto:lxc-users-bounces">lxc-users-bounces</a> at <a href="http://lists.linuxcontainers.org" target="_blank">lists.linuxcontainers.org</a>] On Behalf Of Dao<br>
> >>Quang Minh<br>
> >>Sent: Wednesday, March 12, 2014 9:03 AM<br>
> >>To: lxc-users at <a href="http://lists.linuxcontainers.org" target="_blank">lists.linuxcontainers.org</a><br>
> >>Subject: [lxc-users] Kernel lockups when running lxc-start<br>
> >><br>
> >>Hi all,<br>
> >><br>
> >>We encounter a bug today when one of our systems enter soft-lockup when we try to start a container. Unfortunately at that<br>
> >>point, we have to do a power cycle because we can’t access the system anymore. Here is the kernel.log:<br>
> >><br>
> >>[...]<br>
> >><br>
> >>After this point, it seems that all lxc-start will fail,but the system continues to run until we power-cycled it.<br>
> >><br>
> >>When i inspected some of the containers that were started during that time, i saw that one of them has an existing<br>
> >>lxc_putold directory ( which should be removed when the container finished starting up right ? ). However, i'm not sure if that<br>
> >>is related to the lockup above.<br>
> >><br>
> >>The host is running on a 12.04 ec2 server, with lxc 1.0.0 and kernel <a href="tel:3.13.0-12.32" value="+6531301232">3.13.0-12.32</a><br>
> >><br>
> >>Cheers,<br>
> >>Daniel.<br>
<br>
</div></div>> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>