OpenVZ Forum


Home » General » Support » vzctl stop failed: Unable to stop VPS, operation timed out
Re: vzctl stop failed: Unable to stop VPS, operation timed out [message #6348 is a reply to message #6347] Thu, 14 September 2006 12:38 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Well, what we can see... While stoping VE:

         ......
                ret = real_env_stop(h, veid, root, stop_mode);
         ......
        for (i = 0; i < MAX_SHTD_TM; i++) {
                sleep(1);
                if (!vps_is_run(h, veid)) {
                        ret = 0;
                        goto out;
                }
        }


real_env_stop() function just invokes "halt" in VE...
Do you have halt in VE? BTW, what template do you use?
You can try to stop VE be specifying --fast option:
vzctl stop <VEID> --fast

then vzctl won't execute halt, it just try to kill VE's init.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enable Quota
Next Topic: vzkernel repos gone?
Goto Forum:
  


Current Time: Thu Aug 21 18:00:05 GMT 2025

Total time taken to generate the page: 0.07079 seconds