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.

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.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,600
    Likes Received:
    61
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    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.
     
  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.
     
  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
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    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.
     
Loading...

Share This Page