[Lxc-users] cannot stop/kill lxc-start

Ulli Horlacher framstag at rus.uni-stuttgart.de
Wed Oct 19 16:34:49 UTC 2011


I have some lxc-start processes which I cannot stop or kill:


root at vms2:/lxc# psg bunny
USER       PID  PPID %CPU    VSZ COMMAND
root     27033     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log
root     26620     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log

root at vms2:/lxc# lxc-stop -n bunny -o /dev/tty
root at vms2:/lxc# echo $?
0

root at vms2:/lxc# psg bunny
USER       PID  PPID %CPU    VSZ COMMAND
root     27033     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log
root     26620     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log

root at vms2:/lxc# kill 27033 26620
root at vms2:/lxc# psg bunny
USER       PID  PPID %CPU    VSZ COMMAND
root     27033     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log
root     26620     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log

root at vms2:/lxc# kill -9 27033 26620
root at vms2:/lxc# psg bunny
USER       PID  PPID %CPU    VSZ COMMAND
root     27033     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log
root     26620     1  0.0  20872 lxc-start -f /data/lxc/bunny.cfg -n bunny -d -o /data/lxc/bunny.log


root at vms2:/lxc# uname -a; lxc-version
Linux vms2 2.6.35-30-server #59~lucid1-Ubuntu SMP Thu Sep 1 19:39:17 UTC 2011 x86_64 GNU/Linux
lxc version: 0.7.4.1


I do not want to reboot the server host, because there are others
containers running in production state.

How can I terminate these dangling lxc-start processes?

-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/




More information about the lxc-users mailing list