Ovz force container kill

From vpsget wiki
Jump to: navigation, search

Draft .

the isue could appear while using vzmigrate --live

stop solusvm services

vzctl stop 1759 --fast

vzctl exec 1759 kill -9 959748

vzctl umount 1759

lsof /vz/private/1759

vzctl exec 1759 killall5 -9

vzctl exec 1759 kill -9 `ps -ef | grep root | grep -v grep | awk '{print $2}'`

rm /vz/lock/1759.lck vzctl chkpnt 1759 --kill

ps aux | grep CTID kill manually all CT related processes, check childs, zombies

If you cant; unmount container with usual way try this one:

umount -l /var/lib/vz/root/1759