Hi Dwight,

Yes it only stuck during creating concurrent containers for me and
start/stop/freeze/unfreeze seems to work fine. If it helps I'm pretty sure
that it was working fine till last week (or I was so lucky not to hit by
this problem before). Go binding's test suite does lots of concurrent stuff
to test bindings and they were passing but now ConcurrentCreate test case
(which creates 10 containers in parallel) hangs most of the time.



On Fri, Sep 13, 2013 at 5:29 PM, Dwight Engen <dwight.en...@oracle.com>wrote:

> On Fri, 13 Sep 2013 12:09:55 -0400
> S.Çağlar Onur <cag...@10ur.org> wrote:
>
> > Hi Dwight,
> >
> > Yes, I only observed a hang so far but not this assertion (in fact I
> > don't remember ever seeing that). What I'm seeing is this;
>
> Okay, something funny is going on, but I don't know what yet. That
> assertion is coming from liblxc.so->libgnutls->libgcrypt and seems to
> be complaining that we're unlocking something that is already unlocked.
> So I compiled lxc without GNUTLS support (by commenting out the check
> for it in configure.ac) and now I get past that and get hangs similar to
> yours.
>
> Interestingly, I modified your program to just do the create and
> destroy and not the start nor stop and I still get the hangs during the
> creation part.
>
> > * lxc-test-concurrent get stuck
> >
> > [caglar@qgq:~] sudo lxc-test-concurrent
> > Executing (create) for 5 containers...
> >
> > * ps auwxf shows this (so no rsync etc. running anymore)
> >
> > caglar   21004  0.2  0.2  51344  4868 ?        S    11:59   0:00
> > mosh-server new -s -c 256 -l LANG=en_US.UTF-8
> > caglar   21005  0.0  0.2  23068  4412 pts/2    Ss   11:59   0:00  \_
> > -bash root     27347  0.0  0.1  60248  2080 pts/2    S+   12:03
> > 0:00      \_ sudo lxc-test-concurrent
> > root     27348  0.0  0.0 383816   884 pts/2    Sl+  12:03   0:00
> >  \_ lxc-test-concurrent
> > root     27354  0.0  0.0 381684   408 pts/2    S+   12:03   0:00
> >    \_ lxc-test-concurrent
> >
> > * strace give this
> >
> > [caglar@qgq:~/Projects/lxc(staging)] sudo strace -p 27354
> > Process 27354 attached - interrupt to quit
> > futex(0x7fdc68b82cc0, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
> > Process 27354 detached
> > [caglar@qgq:~/Projects/lxc(staging)] sudo strace -p 27348
> > Process 27348 attached - interrupt to quit
> > futex(0x7fdc65f3d9d0, FUTEX_WAIT, 27353, NULL^C <unfinished ...>
> > Process 27348 detached
> > [caglar@qgq:~/Projects/lxc(staging)] sudo strace -p 27347
> > Process 27347 attached - interrupt to quit
> > select(6, [3 5], [], NULL, NULL^C <unfinished ...>
> > Process 27347 detached
> >
> > * lxc-ls
> >
> > [caglar@qgq:~/Projects/lxc(staging)] sudo lxc-ls --fancy
> > NAME       STATE    IPV4  IPV6
> > ------------------------------
> > 0          STOPPED  -     -
> > 1          STOPPED  -     -
> > 2          STOPPED  -     -
> > 3          STOPPED  -     -
> > 4          STOPPED  -     -
> >
> > * /var/lib/lxc/4/partial still there
> >
> > [caglar@qgq:/var/lib/lxc] ls /var/lib/lxc/*
> > /var/lib/lxc/lxc-monitord.log
> >
> > /var/lib/lxc/0:
> > config  fstab  rootfs
> >
> > /var/lib/lxc/1:
> > config  fstab  rootfs
> >
> > /var/lib/lxc/2:
> > config  fstab  rootfs
> >
> > /var/lib/lxc/3:
> > config  fstab  rootfs
> >
> > /var/lib/lxc/4:
> > config  partial  rootfs
> >
> > /var/lib/lxc/bleach:
> > config  fstab  lxc_snapshots  rootfs
> >
> > /var/lib/lxc/bleach-ng:
> > config  delta0  fstab  lxc_rdepends  rootfs
> > ​
>
>


-- 
S.Çağlar Onur <cag...@10ur.org>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to