Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup restoration causing high load averages?

Discussion in 'Data Protection' started by RicardoFC, Nov 12, 2017.

  1. RicardoFC

    RicardoFC Member

    Joined:
    Oct 21, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi,

    My load averages are always something like 3.02 4.23 3.89, however once I restore a site it goes to 30.04 29.93 25.78, as site is large server load average is quite high during a lot of time, is there a way to limit backup restoration to use this much CPU?
     
  2. Suede Y

    Suede Y Registered

    Joined:
    Nov 12, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    Hey there Ricardo,

    You may be able to do it using CPU watch through SSH like this:

    /usr/local/cpanel/bin/cpuwatch 4 /scripts/restorepkg username

    This should have the CPU watch keep an eye on the process and pause it when the load goes over 4 and if it hits that load it pauses the process until the load is under that specific number again. For your server you may want to do a higher number but that should be a good way for that.
     
  3. RicardoFC

    RicardoFC Member

    Joined:
    Oct 21, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Tried, still using that amount of CPU, if the server starts unzipping files it stops the transference process but it keeps unzipping, once it reaches below 4 it justs says the restoration is done :(
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,516
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look and verify if it's mostly related to your server's hardware, or if there's anything in the restoration process that's leading to the increased load?

    Thank you.
     
  5. Suede Y

    Suede Y Registered

    Joined:
    Nov 12, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    I’m sorry to hear that. I did see that Michael recommended to make a ticket. Can you update the thread when you can to see what happened? I’m pretty curious on the outcome of the ticket.
     
  6. yasir-khan

    yasir-khan Registered

    Joined:
    Nov 22, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    DataCenter Provider
    I have opened five Oracle service requests for multiple symptoms.would hang, the agent would hang, backup jobs would hang,

    Great Thinking your feedback is awesome
     
    #6 yasir-khan, Nov 22, 2017
    Last edited by a moderator: Nov 22, 2017
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,516
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Feel free to post the support ticket number here should you decide to open a ticket and we can update this thread with the outcome.

    Thanks!
     
Loading...

Share This Page