Skip to main content

Strange "fake" CPU usage during Backup

Comments

7 comments

  • cPanelLauren
    Hi @Rogerio Is this happening on multiple servers you have or only one? This isn't behavior I've seen, to be honest but if you're experiencing it on several servers I might suggest you open a ticket using the link in my signature so that we can observe the behavior while it's occurring. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • Rogerio
    Hello Lauren, the problem is something rare, so, hard to monitor. I don't know how to fix, only rebooting. Do you know any way to force Linux "reload" the CPU average counters? Or a way to kill a stuck cPanel backup and force to re-run?
    0
  • cPanelLauren
    It really sounds like IO wait on the hostnode to me especially if you're running VPS servers this is a common occurrence.
    Do you know any way to force Linux "reload" the CPU average counters?

    There is not that I am aware of no.
    Or a way to kill a stuck cPanel backup and force to re-run?

    If it truly is stuck you can always kill the process and then manually restart it by running: /usr/local/cpanel/bin/backup --force
    0
  • LucasRolff
    I can also recommend trying to install netdata github.com/netdata/netdata or possibly the Munin plugin in cPanel - it might be you get a high load alert, and by the time you log in, the actual process that causes these load issues is "done" - thus giving you 100% idle in CPU. It's important to remember that the unix load is relative and average over the intervals 1, 5 and 15 minutes, so if you have a big spike in load 50 seconds ago and nothing now, the 1 minute load will still be "high". The benefit of netdata or munin is the fact you have historical data to check - I personally prefer netdata because it goes down to a 1 second resolution for a whole lot of system metrics (it keeps them for 1 hour by default, and doesn't consume too much memory). It will probably help you narrowing down the problem a lot easier.
    0
  • Rogerio
    Hello @cPanelLauren, thanks for the infos. @LucasRolff I already use Munin, but, as I said, the problem is only the counters. The server was idle for sure until cPanel backup. I run MRTG too, every 5 minutes, and it shows no CPU usage until the problem. And I run NRPE (Nagios) too, that monitors CPU usage every 2 minutes and notify by SMS and PushOver.
    0
  • cPanelLauren
    If when it happens again I'd be curious to see some sysstats info specifically what the output of the following is: sar -p
    Or for historic usage (pinpoint a specific time/date) sar -p -f /var/log/sa/saXX
    0
  • Rogerio
    Hello @cPanelLauren, ok, I'll update this thread when happen again. Hopefully, the problem is rare, every 3-4 months only.
    0

Please sign in to leave a comment.