[Lxc-users] Containers that don't die!

Leandro Ferreira leandrodsferreira at gmail.com
Mon Oct 28 16:25:15 UTC 2013


I was just testing on ubuntu, the system will run on an centos 6 64 bits
box,
this is what i can found:

2013-10-28 12:53:44-0200 [-] /bin/rm: cannot remove
`/tmp/lxc/rwfs/2748/4/var/tmp':
Device or resource busy
2013-10-28 12:53:44-0200 [-] /bin/rm: cannot remove
`/tmp/lxc/rwfs/2748/4/var/www/html':
Device or resource busy
2013-10-28 12:53:44-0200 [-] /bin/rm: cannot remove
`/tmp/lxc/rwfs/2748/4/var/log/httpd':
Device or resource busy

# ps aux | grep 2748
root     23661  0.0  0.0  14668   516 ?        R    Oct25   0:00 /usr/bin/
lxc-start -n 2748 -s spregiaro1 -s 1382679137.57 -s 2748 -s 4 -s
xxxxx/spregiaro1/home -s xxxxxxxxxx.com -s b:u:spregiaro1:1 -s lxc
.network.ipv4=10.2.18.97/16 -slxc.cgroup.cpu.cfs_period_us=100000 -s
lxc.cgroup.cpu.cfs_quota_us=175000
-s lxc.cgroup.memory.limit_in_bytes=256M -d


# sudo lxc-info -n 2748
state:   STOPPED
lxc-info: '2748' is not running
pid:        -1

# sudo lxc-stop -n 2748
# echo $?
0


# find /proc/23661 | xargs ls -l {} \;
dr-xr-xr-x. 2 root lxc-tools 0 Oct 25 20:10 attr
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 autogroup
-r--------. 1 root lxc-tools 0 Oct 28 13:14 auxv
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 cgroup
--w-------. 1 root lxc-tools 0 Oct 28 13:14 clear_refs
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 cmdline
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 comm
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 coredump_filter
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 cpuset
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 cwd -> /
-r--------. 1 root lxc-tools 0 Oct 28 13:14 environ
lrwxrwxrwx. 1 root lxc-tools 0 Oct 25 04:33 exe -> /usr/bin/lxc-start
dr-x------. 2 root lxc-tools 0 Oct 25 03:32 fd
dr-x------. 2 root lxc-tools 0 Oct 28 13:14 fdinfo
-r--------. 1 root lxc-tools 0 Oct 28 13:14 io
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 limits
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 loginuid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 maps
-rw-------. 1 root lxc-tools 0 Oct 28 13:14 mem
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 mountinfo
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 mounts
-r--------. 1 root lxc-tools 0 Oct 28 13:14 mountstats
dr-xr-xr-x. 5 root lxc-tools 0 Oct 28 13:14 net
dr-x--x--x. 2 root lxc-tools 0 Oct 28 13:14 ns
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 numa_maps
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_adj
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_score
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_score_adj
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 pagemap
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 personality
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 root -> /
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 sched
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 schedstat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 sessionid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 smaps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 stack
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 stat
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 statm
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 status
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 syscall
dr-xr-xr-x. 3 root lxc-tools 0 Oct 28 13:14 task
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 wchan
total 0
dr-xr-xr-x. 6 root lxc-tools 0 Oct 28 13:14 23661
total 0
dr-xr-xr-x. 2 root lxc-tools 0 Oct 28 13:14 attr
-r--------. 1 root lxc-tools 0 Oct 28 13:14 auxv
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 cgroup
--w-------. 1 root lxc-tools 0 Oct 28 13:14 clear_refs
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 cmdline
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 comm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 cpuset
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 cwd -> /
-r--------. 1 root lxc-tools 0 Oct 28 13:14 environ
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 exe -> /usr/bin/lxc-start
dr-x------. 2 root lxc-tools 0 Oct 28 13:14 fd
dr-x------. 2 root lxc-tools 0 Oct 28 13:14 fdinfo
-r--------. 1 root lxc-tools 0 Oct 28 13:14 io
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 limits
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 loginuid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 maps
-rw-------. 1 root lxc-tools 0 Oct 28 13:14 mem
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 mountinfo
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 mounts
dr-x--x--x. 2 root lxc-tools 0 Oct 28 13:14 ns
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 numa_maps
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_adj
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_score
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 oom_score_adj
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 pagemap
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 personality
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 root -> /
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 sched
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 schedstat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 sessionid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 smaps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 stack
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 stat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 statm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 status
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 syscall
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 wchan
total 0
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 0 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 1 -> /dev/null
l-wx------. 1 root lxc-tools 64 Oct 28 13:14 10 ->
/cgroup/2748/cpu.cfs_quota_us
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 2 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 3 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 4 -> /dev/pts/126
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 5 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 6 -> /dev/pts/129
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 7 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 8 -> anon_inode:[signalfd]
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 9 -> socket:[29652929]
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/0 ->
/dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/1 ->
/dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/2 ->
/dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/3 ->
/dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/4 ->
/dev/pts/126
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/5 ->
/dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/6 ->
/dev/pts/129
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/7 ->
/dev/null
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/8 ->
anon_inode:[signalfd]
lrwx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/9 ->
socket:[29652929]
l-wx------. 1 root lxc-tools 64 Oct 28 13:14 /proc/23661/task/23661/fd/10
-> /cgroup/2748/cpu.cfs_quota_us
total 0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 1
-r--------. 1 root lxc-tools 0 Oct 28 13:14 10
-r--------. 1 root lxc-tools 0 Oct 28 13:14 2
-r--------. 1 root lxc-tools 0 Oct 28 13:14 3
-r--------. 1 root lxc-tools 0 Oct 28 13:14 4
-r--------. 1 root lxc-tools 0 Oct 28 13:14 5
-r--------. 1 root lxc-tools 0 Oct 28 13:14 6
-r--------. 1 root lxc-tools 0 Oct 28 13:14 7
-r--------. 1 root lxc-tools 0 Oct 28 13:14 8
-r--------. 1 root lxc-tools 0 Oct 28 13:14 9
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/1
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/2
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/3
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/4
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/5
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/6
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/7
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/8
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/9
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/fdinfo/10
total 0
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 ipc -> ipc:[4026537639]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 mnt -> mnt:[4026537637]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 net -> net:[4026537642]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 pid -> pid:[4026537640]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 uts -> uts:[4026537638]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/ns/net
-> net:[4026537642]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/ns/uts
-> uts:[4026537638]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/ns/ipc
-> ipc:[4026537639]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/ns/pid
-> pid:[4026537640]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/ns/mnt
-> mnt:[4026537637]
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/environ
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/auxv
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/status
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/personality
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/limits
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/sched
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/comm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/syscall
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/cmdline
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/stat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/statm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/maps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/numa_maps
-rw-------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/mem
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/cwd -> /
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/root -> /
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/exe ->
/usr/bin/lxc-start
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/mounts
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/mountinfo
--w-------. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/clear_refs
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/smaps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/pagemap
total 0
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 current
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 exec
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 fscreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 keycreate
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 prev
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 sockcreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/attr/current
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/attr/prev
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/attr/exec
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/attr/fscreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/attr/keycreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/attr/sockcreate
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/wchan
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/stack
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/schedstat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/cpuset
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/cgroup
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/oom_score
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/oom_adj
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14
/proc/23661/task/23661/oom_score_adj
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/loginuid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/sessionid
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/task/23661/io
total 0
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 0 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 1 -> /dev/null
l-wx------. 1 root lxc-tools 64 Oct 25 20:10 10 ->
/cgroup/2748/cpu.cfs_quota_us
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 2 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 3 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 4 -> /dev/pts/126
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 5 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 6 -> /dev/pts/129
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 7 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 8 -> anon_inode:[signalfd]
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 9 -> socket:[29652929]
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/0 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/1 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/2 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/3 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/4 ->
/dev/pts/126
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/5 -> /dev/ptmx
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/6 ->
/dev/pts/129
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/7 -> /dev/null
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/8 ->
anon_inode:[signalfd]
lrwx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/9 ->
socket:[29652929]
l-wx------. 1 root lxc-tools 64 Oct 25 20:10 /proc/23661/fd/10 ->
/cgroup/2748/cpu.cfs_quota_us
total 0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 1
-r--------. 1 root lxc-tools 0 Oct 28 13:14 10
-r--------. 1 root lxc-tools 0 Oct 28 13:14 2
-r--------. 1 root lxc-tools 0 Oct 28 13:14 3
-r--------. 1 root lxc-tools 0 Oct 28 13:14 4
-r--------. 1 root lxc-tools 0 Oct 28 13:14 5
-r--------. 1 root lxc-tools 0 Oct 28 13:14 6
-r--------. 1 root lxc-tools 0 Oct 28 13:14 7
-r--------. 1 root lxc-tools 0 Oct 28 13:14 8
-r--------. 1 root lxc-tools 0 Oct 28 13:14 9
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/0
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/1
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/2
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/3
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/4
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/5
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/6
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/7
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/8
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/9
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/fdinfo/10
total 0
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 ipc -> ipc:[4026537639]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 mnt -> mnt:[4026537637]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 net -> net:[4026537642]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 pid -> pid:[4026537640]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 uts -> uts:[4026537638]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/ns/net ->
net:[4026537642]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/ns/uts ->
uts:[4026537638]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/ns/ipc ->
ipc:[4026537639]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/ns/pid ->
pid:[4026537640]
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/ns/mnt ->
mnt:[4026537637]
total 0
-r--r--r--. 1 root root 0 Oct 28 13:15 anycast6
-r--r--r--. 1 root root 0 Oct 28 13:15 arp
-r--r--r--. 1 root root 0 Oct 28 13:15 dev
-r--r--r--. 1 root root 0 Oct 28 13:15 dev_mcast
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 dev_snmp6
-r--r--r--. 1 root root 0 Oct 28 13:15 fib_trie
-r--r--r--. 1 root root 0 Oct 28 13:15 fib_triestat
-r--r--r--. 1 root root 0 Oct 28 13:15 icmp
-r--r--r--. 1 root root 0 Oct 28 13:15 if_inet6
-r--r--r--. 1 root root 0 Oct 28 13:15 igmp
-r--r--r--. 1 root root 0 Oct 28 13:15 igmp6
-r--r--r--. 1 root root 0 Oct 28 13:15 ip6_flowlabel
-r--r--r--. 1 root root 0 Oct 28 13:15 ip6_mr_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 ip6_mr_vif
-r--r-----. 1 root root 0 Oct 28 13:15 ip_conntrack
-r--r-----. 1 root root 0 Oct 28 13:15 ip_conntrack_expect
-r--r--r--. 1 root root 0 Oct 28 13:15 ip_mr_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 ip_mr_vif
-r--r-----. 1 root root 0 Oct 28 13:15 ip_tables_matches
-r--r-----. 1 root root 0 Oct 28 13:15 ip_tables_names
-r--r-----. 1 root root 0 Oct 28 13:15 ip_tables_targets
-r--r--r--. 1 root root 0 Oct 28 13:15 ipv6_route
-r--r--r--. 1 root root 0 Oct 28 13:15 mcfilter
-r--r--r--. 1 root root 0 Oct 28 13:15 mcfilter6
-r--r--r--. 1 root root 0 Oct 28 13:15 netlink
-r--r--r--. 1 root root 0 Oct 28 13:15 netstat
-r--r-----. 1 root root 0 Oct 28 13:15 nf_conntrack
-r--r-----. 1 root root 0 Oct 28 13:15 nf_conntrack_expect
-r--r--r--. 1 root root 0 Oct 28 13:15 packet
-r--r--r--. 1 root root 0 Oct 28 13:15 protocols
-r--r--r--. 1 root root 0 Oct 28 13:15 psched
-r--r--r--. 1 root root 0 Oct 28 13:15 ptype
-r--r--r--. 1 root root 0 Oct 28 13:15 raw
-r--r--r--. 1 root root 0 Oct 28 13:15 raw6
-r--r--r--. 1 root root 0 Oct 28 13:15 route
dr-xr-xr-x. 6 root root 0 Oct 28 13:15 rpc
-r--r--r--. 1 root root 0 Oct 28 13:15 rt6_stats
-r--r--r--. 1 root root 0 Oct 28 13:15 rt_acct
-r--r--r--. 1 root root 0 Oct 28 13:15 rt_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 snmp
-r--r--r--. 1 root root 0 Oct 28 13:15 snmp6
-r--r--r--. 1 root root 0 Oct 28 13:15 sockstat
-r--r--r--. 1 root root 0 Oct 28 13:15 sockstat6
-r--r--r--. 1 root root 0 Oct 28 13:15 softnet_stat
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 stat
-r--r--r--. 1 root root 0 Oct 28 13:15 tcp
-r--r--r--. 1 root root 0 Oct 28 13:15 tcp6
-r--r--r--. 1 root root 0 Oct 28 13:15 udp
-r--r--r--. 1 root root 0 Oct 28 13:15 udp6
-r--r--r--. 1 root root 0 Oct 28 13:15 udplite
-r--r--r--. 1 root root 0 Oct 28 13:15 udplite6
-r--r--r--. 1 root root 0 Oct 28 13:15 unix
-r--r--r--. 1 root root 0 Oct 28 13:15 wireless
-r--r--r--. 1 root root 0 Oct 28 13:15 xfrm_stat
total 0
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 auth.rpcsec.context
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 auth.rpcsec.init
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 auth.unix.gid
dr-xr-xr-x. 2 root root 0 Oct 28 13:15 auth.unix.ip
total 0
-rw-------. 1 root root 0 Oct 28 13:15 channel
-rw-------. 1 root root 0 Oct 28 13:15 flush
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.rpcsec.init/channel
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.rpcsec.init/flush
total 0
-rw-------. 1 root root 0 Oct 28 13:15 channel
-rw-------. 1 root root 0 Oct 28 13:15 flush
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.rpcsec.context/channel
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.rpcsec.context/flush
total 0
-rw-------. 1 root root 0 Oct 28 13:15 channel
-r--------. 1 root root 0 Oct 28 13:15 content
-rw-------. 1 root root 0 Oct 28 13:15 flush
-r--------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.gid/content
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.gid/channel
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.gid/flush
total 0
-rw-------. 1 root root 0 Oct 28 13:15 channel
-r--------. 1 root root 0 Oct 28 13:15 content
-rw-------. 1 root root 0 Oct 28 13:15 flush
-r--------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.ip/content
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.ip/channel
-rw-------. 1 root root 0 Oct 28 13:15
/proc/23661/net/rpc/auth.unix.ip/flush
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip6_flowlabel
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/rt6_stats
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ipv6_route
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/if_inet6
total 0
-r--r--r--. 1 root root 0 Oct 28 13:15 eth1
-r--r--r--. 1 root root 0 Oct 28 13:15 lo
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/dev_snmp6/eth1
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/dev_snmp6/lo
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/snmp6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/sockstat6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/udplite6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/raw6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/mcfilter6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/igmp6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip6_mr_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip6_mr_vif
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/anycast6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/tcp6
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/udp6
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_conntrack_expect
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_conntrack
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/nf_conntrack
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/nf_conntrack_expect
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_tables_targets
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_tables_matches
-r--r-----. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_tables_names
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/packet
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/unix
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/snmp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/netstat
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/sockstat
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/icmp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/udp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/tcp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/raw
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_mr_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ip_mr_vif
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/udplite
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/mcfilter
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/igmp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/xfrm_stat
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/rt_acct
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/rt_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/route
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/fib_triestat
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/fib_trie
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/arp
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/psched
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/dev_mcast
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/wireless
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/ptype
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/softnet_stat
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/dev
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/protocols
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/netlink
total 0
-r--r--r--. 1 root root 0 Oct 28 13:15 ip_conntrack
-r--r--r--. 1 root root 0 Oct 28 13:15 nf_conntrack
-r--r--r--. 1 root root 0 Oct 28 13:15 rt_cache
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/stat/ip_conntrack
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/stat/nf_conntrack
-r--r--r--. 1 root root 0 Oct 28 13:15 /proc/23661/net/stat/rt_cache
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/environ
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/auxv
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/status
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/personality
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/limits
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/sched
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/autogroup
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/comm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/syscall
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/cmdline
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/stat
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/statm
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/maps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/numa_maps
-rw-------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/mem
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/cwd -> /
lrwxrwxrwx. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/root -> /
lrwxrwxrwx. 1 root lxc-tools 0 Oct 25 04:33 /proc/23661/exe -> /usr/bin/lxc
-start
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/mounts
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/mountinfo
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/mountstats
--w-------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/clear_refs
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/smaps
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/pagemap
total 0
-rw-rw-rw-. 1 root lxc-tools 0 Oct 25 20:10 current
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 exec
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 fscreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 keycreate
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 prev
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 sockcreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 25 20:10 /proc/23661/attr/current
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/attr/prev
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/attr/exec
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/attr/fscreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/attr/keycreate
-rw-rw-rw-. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/attr/sockcreate
-r--r--r--. 1 root lxc-tools 0 Oct 25 03:32 /proc/23661/wchan
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/stack
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/schedstat
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/cpuset
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/cgroup
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/oom_score
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/oom_adj
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/oom_score_adj
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/loginuid
-r--r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/sessionid
-rw-r--r--. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/coredump_filter
-r--------. 1 root lxc-tools 0 Oct 28 13:14 /proc/23661/io



# kill -9 23661
# echo $?
0


2013/10/23 Ranjib Dey <dey.ranjib at gmail.com>

> same here, i am not facing any issue, basic operations works just fine for
> me. Im running lxc 1.0.0 alpha on fedora 19. Installed via the rpm,
>
>
> On Wed, Oct 23, 2013 at 12:16 PM, Tamas Papp <tompos at martos.bme.hu> wrote:
>
>>
>> On 10/23/2013 08:55 PM, Leandro Ferreira wrote:
>> > Hi,
>> >
>> > I was testing a solution with lxc and apache2 on ubuntu 13.04,
>> > And very very often some containers don't react to lxc-stop end even
>> > don't die with kill -9,
>> > It's a known bug? there are some work around?
>> >
>>
>>
>> What do you see exactly?
>> What is the output of:
>>
>> lxc-list
>> ps axf
>> lxc-stop
>>
>> What do you kill?
>> I don't see such a bug, though my system is not 13.04 but 12.04 and it's
>> normal lxc 0.7 or nightly or 13.04 + lxc nightly.
>>
>>
>> tamas
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>


-- 
Att: Leandro S Ferreira @ Leandrosf.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20131028/83c33428/attachment.html>


More information about the lxc-users mailing list