Skip to content

Instantly share code, notes, and snippets.

@caglar10ur
Created December 19, 2013 04:25
Show Gist options
  • Save caglar10ur/8034412 to your computer and use it in GitHub Desktop.
Save caglar10ur/8034412 to your computer and use it in GitHub Desktop.
stuck concurrent start
Iteration 66/100 maxfd:3
Executing (create) for 10 containers...
Executing (start) for 10 containers...
Executing (stop) for 10 containers...
Executing (destroy) for 10 containers...
Iteration 67/100 maxfd:3
Executing (create) for 10 containers...
Executing (start) for 10 containers...
**
root 30616 0.2 0.0 15160 724 ? Ss 23:11 0:00 lxc-monitord /var/lib/lxc 9
root 16148 0.0 0.4 763056 9224 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16191 0.0 0.0 2260 496 ? Ss 23:15 0:00 \_ init
root 16253 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16268 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16256 0.0 0.0 2260 272 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16155 0.0 0.4 763060 9232 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16231 0.0 0.0 2260 496 ? Ss 23:15 0:00 \_ init
root 16347 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16362 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16349 0.0 0.0 2260 272 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16162 0.0 0.4 763052 9228 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16250 0.0 0.0 2260 496 ? Ss 23:15 0:00 \_ init
root 16333 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16345 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16337 0.0 0.0 2260 272 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16178 0.0 0.4 763060 9252 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16343 0.0 0.0 2260 492 ? Ss 23:15 0:00 \_ init
root 16392 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16401 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16395 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16197 0.0 0.4 763044 9248 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16382 0.0 0.0 2260 492 ? Ss 23:15 0:00 \_ init
root 16432 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16440 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16438 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16199 0.0 0.4 763060 9252 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16403 0.0 0.0 2260 492 ? Ss 23:15 0:00 \_ init
root 16419 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16427 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16424 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16210 0.0 0.4 763044 9256 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16412 0.0 0.0 2260 496 ? Ss 23:15 0:00 \_ init
root 16470 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16476 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16472 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16220 0.0 0.4 763044 9268 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16430 0.0 0.0 2260 492 ? Ss 23:15 0:00 \_ init
root 16498 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16503 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16500 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
root 16221 0.0 0.4 763044 9172 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16229 0.0 0.4 763044 9268 ? Ss 23:15 0:00 lxc-test-concurrent -j10 -i100
root 16466 0.0 0.0 2260 496 ? Ss 23:15 0:00 \_ init
root 16505 0.0 0.0 2260 260 ? Ss 23:15 0:00 \_ /bin/sh /etc/init.d/rcS
root 16510 0.0 0.0 2260 264 ? S 23:15 0:00 | \_ /bin/udhcpc
root 16507 0.0 0.0 2260 276 ? Ss 23:15 0:00 \_ /bin/syslogd
**
[caglar@oOo:~] sudo gdb -p 16221
(gdb) bt
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007f495526515c in _L_lock_982 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007f4955264fab in __GI___pthread_mutex_lock (mutex=0x7f49556d4600 <static_mutex>) at pthread_mutex_lock.c:64
#3 0x00007f49554b27a6 in lock_mutex (l=l@entry=0x7f49556d4600 <static_mutex>) at lxclock.c:78
#4 0x00007f49554b2dac in static_lock () at lxclock.c:330
#5 0x00007f4955498f71 in lxc_global_config_value (option_name=option_name@entry=0x7f49554c02cf "cgroup.use") at utils.c:273
#6 0x00007f495549926c in default_cgroup_use () at utils.c:366
#7 0x00007f49554953bd in lxc_cgroup_load_meta () at cgroup.c:94
#8 0x00007f495548debc in lxc_spawn (handler=handler@entry=0x7f49200af300) at start.c:783
#9 0x00007f495548e7a7 in __lxc_start (name=name@entry=0x7f49200b48a0 "lxc-test-concurrent-4", conf=conf@entry=0x7f49200b2030, ops=ops@entry=0x7f49556d3900 <start_ops>, data=data@entry=0x7f495487db90,
lxcpath=lxcpath@entry=0x7f49200b2010 "/var/lib/lxc") at start.c:951
#10 0x00007f495548eb9c in lxc_start (name=0x7f49200b48a0 "lxc-test-concurrent-4", argv=argv@entry=0x7f495487dbe0, conf=conf@entry=0x7f49200b2030, lxcpath=0x7f49200b2010 "/var/lib/lxc") at start.c:1048
#11 0x00007f49554b68f1 in lxcapi_start (c=0x7f49200b1dd0, useinit=<optimized out>, argv=0x7f495487dbe0) at lxccontainer.c:648
#12 0x0000000000401317 in do_function (arguments=0x1aa80b0) at concurrent.c:94
#13 0x0000000000401499 in concurrent (arguments=<optimized out>) at concurrent.c:130
#14 0x00007f4955262f6e in start_thread (arg=0x7f495487e700) at pthread_create.c:311
#15 0x00007f4954f8d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment