Results 1 to 6 of 6
  1. #1

    Question Reboot 101: Reboot != Reboot??

    Hi,
    If (I reboot from vePortal)
    {Then the VPS comes back up;}
    else
    {reboot from ssh/PuTTY = VPS shut down & I need to log into vePortal;}

    centos 5.5:
    How can I fix this?
    Why does not Reboot == Reboot??
    Thanks

  2. #2
    Join Date
    Jan 2008
    Location
    Jax, FL
    Posts
    2,707
    I am assuming this is under OpenVZ...

    OpenVZ reboots are quite different than a true machine. Under OpenVZ, when you issue 'reboot' from console, it will halt the VE and place a file flag within the file system. A cron runs every couple of minutes from the hardware node and looks for all VEs containing this file "flag" and issues a vzctl restart (same as rebooting from VEPortal).

    If you give it some time, it will eventually come back online.

    OpenVZ is not a true virtual environment -- It is more of an OS jail.
    Daniel | Server Complete, LLC
    INSTANTLY DEPLOYED Bare Metal Servers
    Wholly owned hardware and self operated network (AS19531) in Jacksonville, FL

  3. #3
    OpenVZ is not a true virtual environment...

    Thanks Daniel,
    So OpenVZ doesn't actually guarantee a set amount of CPU either, and other accounts can cause mine to slow down?

    EDIT:
    Wikipedia says this...
    The CPU scheduler in OpenVZ is a two-level implementation of fair-share scheduling strategy.

    On the first level, the scheduler decides which container it is to give the CPU time slice to, based on per-container cpuunits values. On the second level the standard Linux scheduler decides which process to run in that container, using standard Linux process priorities and such.

    It is possible to set different values for the CPUs in each container. Real CPU time will be distributed proportionally to these values.

    Strict limits, such as 10% of total CPU time, are also possible.
    ...but I don't fully understand.

    >> With OpenVZ can other "virtually private" accounts cause mine to slow down?
    Last edited by UpdownUp; 07-19-2010 at 11:48 PM.

  4. #4
    Join Date
    Dec 2007
    Posts
    471
    Interesting post. I never realized OpenVZ doesn't actually reboot the vm. I never noticed it before becuase all my other hosts must have had the cron job run pretty quickly. I never noticed any delay.

    I just nabbed a new vm on RackVM.com and noticed the delay. I submitted a ticket thinking it was an issue with the VM.

  5. #5
    Join Date
    Oct 2009
    Posts
    304
    Quote Originally Posted by UpdownUp View Post
    OpenVZ is not a true virtual environment...

    Thanks Daniel,
    So OpenVZ doesn't actually guarantee a set amount of CPU either, and other accounts can cause mine to slow down?

    EDIT:
    Wikipedia says this...
    ...but I don't fully understand.

    >> With OpenVZ can other "virtually private" accounts cause mine to slow down?
    quite possible. you share everything with the other 'guys' on the same server.

  6. #6
    Join Date
    Mar 2005
    Posts
    187
    Quote Originally Posted by UpdownUp View Post
    OpenVZ is not a true virtual environment...

    Thanks Daniel,
    So OpenVZ doesn't actually guarantee a set amount of CPU either, and other accounts can cause mine to slow down?

    >> With OpenVZ can other "virtually private" accounts cause mine to slow down?
    With any virtualisation your VE can be affected by other VE's. CPU will usualy not be a problem, every virtualisation will handle that fine, but IO usage (hard drive) will always be a problem, and every VPS can be affected by excessive disk usage of another VPS. OpenVZ is very good and fast so don't just choose VPS by virtualisation platform, and look at the price instead, and always pick more expensive one if you need a good quality.

Similar Threads

  1. Reboot?
    By blowouthosts in forum Computers and Peripherals
    Replies: 18
    Last Post: 06-14-2008, 10:41 AM
  2. Server Reboot Through Remote Reboot...
    By JohnGladen in forum Dedicated Server
    Replies: 16
    Last Post: 11-04-2006, 07:16 PM
  3. Web Remote Reboot w/ AutoPing Reboot
    By page-zone in forum Dedicated Server
    Replies: 12
    Last Post: 10-02-2006, 06:54 AM
  4. How often do you reboot?
    By saltydog in forum Dedicated Server
    Replies: 24
    Last Post: 10-03-2005, 08:24 PM
  5. Reboot?
    By pgowder in forum Dedicated Server
    Replies: 7
    Last Post: 02-24-2002, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •