OpenVZ Forum


Home » General » Support » I cant stop container inside the Open vz
I cant stop container inside the Open vz [message #41618] Thu, 10 February 2011 13:02 Go to next message
classical is currently offline  classical
Messages: 4
Registered: February 2011
Location: Georgia
Junior Member
I can not stop container inside The open vz it's starting automatically immediately.

here is the output when i'm trying stopping the container
/usr/sbin/vzctl stop 33392
Stopping container ...
Container was stopped
Container is unmounted


it seems that everything is good but container is still running

nothing strange is even in logs
2011-02-10T16:25:17+0400 vzctl : CT 33392 : Stopping container ...
2011-02-10T16:25:50+0400 vzctl : CT 33392 : Container was stopped
2011-02-10T16:25:50+0400 vzctl : CT 33392 : Container is unmounted
2011-02-10T16:25:50+0400 vzctl : CT 33392 : Starting container ...
2011-02-10T16:25:50+0400 vzctl : CT 33392 : Container is mounted
2011-02-10T16:25:50+0400 vzctl : CT 33392 : Adding IP address(es): x.x.x.x
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Setting CPU limit: 18
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Setting CPU units: 509
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Setting CPUs: 1
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Setting devices
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Set hostname: dd.myhost.ge
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Setting quota ugidlimit: 2048
2011-02-10T16:25:51+0400 vzctl : CT 33392 : Container start in progress...


why does its starting itself ?
Re: I cant stop container inside the Open vz [message #41633 is a reply to message #41618] Fri, 11 February 2011 13:44 Go to previous message
mercy is currently offline  mercy
Messages: 12
Registered: October 2010
Location: msk.ru.earth
Junior Member

hi!

check lsof 2> /dev/null | egrep '/vz/root/33392|/vz/private/33392'

(of couse you mast use your root/private paths)
may be somebody held any files from thid dirs

if it doesn't help, try to umount container's proc with command like
umount /vz/private/33392/proc


no fear. never give up. never surrender.
Previous Topic: High TX-DRP values on veth interfaces (netstat)
Next Topic: How do I get rid of ip connection tracking completely?
Goto Forum:
  


Current Time: Sat Aug 17 18:17:25 GMT 2024

Total time taken to generate the page: 0.02778 seconds