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!

High CPU when copying large files

Discussion in 'General Discussion' started by webmasteryoda, Mar 31, 2018.

  1. webmasteryoda

    webmasteryoda Well-Known Member

    Joined:
    Apr 3, 2013
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Serbia
    cPanel Access Level:
    Root Administrator
    Hello

    I am experiencing high CPU usage every time I use cpbackup or even copying to another server or directory.

    I have VPS with 10 cores and SSD. Its running CloudLinux. I dont know how to solve this problem. Any help?

    I read this topic:
    reducing load and disk I/O for cpbackup with CloudLinux
    but its about limiting cpbackup. Its not solving the problem of high cpu when copying large files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,722
    Likes Received:
    99
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    Disk I/O is always going to be a bottleneck, although with SSD this shouldn't be that much of an issue.

    I'm assuming this is a KVM or Xen based VPS, since CloudLinux on OpenVZ is mostly useless.

    How large of a file are we talking about?

    Who is copying the file, root or an under privileged user?

    How many other Virtual Environments are sharing this VPS node?
     
  3. webmasteryoda

    webmasteryoda Well-Known Member

    Joined:
    Apr 3, 2013
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Serbia
    cPanel Access Level:
    Root Administrator
    Its not container based virtualization. CloudLinux works fine.

    Smaller backup files are fine. But when copying files that are few gigs large, there is a problem. CPU usage goes skyhigh.

    Root is copying the file. I am using MC to connect to my ftp backup space.

    There are ~80 virtual accounts. All under CageFS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,389
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @webmasteryoda,

    It looks like you've opened a support ticket directly with CloudLinux to have them take a closer look:

    High CPU usage when using SSD

    Can you let us know the outcome of the support ticket?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. webmasteryoda

    webmasteryoda Well-Known Member

    Joined:
    Apr 3, 2013
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Serbia
    cPanel Access Level:
    Root Administrator
    Thanks Michael for your reply.

    Sure. CloudLinux support installed script to monitor my server under high usage.
    I expect high usage on saturday 1AM, as my backup starts then.

    After that I ll contact their support again and they ll let me know what is the problem.

    I ll post here as soon as I have more info about that issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. webmasteryoda

    webmasteryoda Well-Known Member

    Joined:
    Apr 3, 2013
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Serbia
    cPanel Access Level:
    Root Administrator
    Hello

    Just to let you guys know that the problem is solved.

    Cloud Linux support gave me some info about my servers usage and they gave me their opinion about what is causing the problem.

    So, with that info I have contacted my hosting provider (Contabo) and they made some adjustments on the host server.

    Now, I can make backups and everything is fine. CPU load is under 1 most of the time. CPU steal time is low (under 5% most of the time). IO usage is fine - its not blocking me from doing backups.

    So, thanks to all these fine support crew who helped me to stay on the solid ground.

    Here is Cloud Linux support topic with this issue:
    High CPU usage when using SSD
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,389
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @webmasteryoda,

    I'm glad to see everything is working well now. Thank you for sharing the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice