Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Sep 2006
    Location
    USA
    Posts
    86

    Thumbs down cpbackup bogs down server

    Gosh, it takes up so much resources that even browsing my forums isn't possible There were only a few files changed on the server. I don't understand why it's taking so long, almost 30 minutes to update 50mb of changed files. Can't you guys rewrite it to use lesss resources like rsync? It's really frustrating to have it bog down the server like that!
    Last edited by ANewDay; 02-10-2007 at 12:42 AM.

  2. #2
    ujr
    ujr is offline
    Member
    Join Date
    Mar 2004
    Posts
    294

    Default

    Cpanel, usually runs fairly smoothly. I bet you've got other things running that are making your box crawl. As an admin, first place to look is top. Do some digging.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Backup performance is directly related to your hardware and has nothing to do with cPanel. Most of the resources are used running gzip which is both very CPU and IO intensive. If you don't have the server resources to run compressed backups, try incrementals instead.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Sep 2006
    Location
    USA
    Posts
    86

    Default

    Quote Originally Posted by ujr View Post
    Cpanel, usually runs fairly smoothly. I bet you've got other things running that are making your box crawl. As an admin, first place to look is top. Do some digging.
    No, the server is very idle during the backup process. Nothing else is running that will make the box crawl.

    @Chripy: it is set to do incremental backups and not many files have changed on the server. I did notice that iowait shoots up to 60-70% during the process. Centos kernel iowait issue, I suppose

  5. #5
    ujr
    ujr is offline
    Member
    Join Date
    Mar 2004
    Posts
    294

    Default

    As chirpy mentioned, it is very much related to your hardware. If you disk subsystem is slow, or non-appropriate drivers are being used, this can obviously also bring it to a crawl.

    Another thing that comes to mind, is: Does your disk result in IO errors or are there bad sectors... check your disk too, as sometimes it can crawl when a disk is failing or going to fail soon.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by ANewDay View Post
    t is set to do incremental backups and not many files have changed on the server. I did notice that iowait shoots up to 60-70% during the process. Centos kernel iowait issue, I suppose
    Which kernel are you running, and what type of disks (IDE, SATA,SCSI)?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Nov 2006
    Posts
    8

    Default

    I am having similar problems and cpbackup is the only thing running at the time the server gets bogged down.

    I am running FC5
    Pentium 3GHZ Dual Core
    2GB Ram
    SATA Hard drive

    Really could use some help on here as it brings pretty much all servers down

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default

    Quote Originally Posted by ANewDay View Post
    Gosh, it takes up so much resources that even browsing my forums isn't possible There were only a few files changed on the server. I don't understand why it's taking so long, almost 30 minutes to update 50mb of changed files. Can't you guys rewrite it to use lesss resources like rsync? It's really frustrating to have it bog down the server like that!
    Are you doing the tar.gz backup method or the incremental backup method? The tar.gz packages all files each time. The incremental method in whm/cpanel to a secondary drive does only changed files and is much more resource friendly.

    You might want to do incremental frequently, and then less frequently package all that up into a tar.gz for remote secondary backup.

    Also if you have an IDE/7200 rpm SATA server it might be time to look at upgrading to a 10k SCSI/SAS server. You'll find that SCSI/SAS based servers are a lot more robust in terms of handling io load without any noticeable slowdown to other activities going on.

  9. #9
    Member
    Join Date
    Sep 2005
    Posts
    74

    Default

    cpbackup monitors load as well, if you've ever run it manually via /scripts/cpbackup you will notice that if the load gets high it will pause for a while then carry on when the load goes down.

    If your running a local backup you have to expect it to be a bit intensive on the hard drive at the very least.

    We have cpbackup running on all our servers, backup is to a NAS volume, generally the bottleneck in this setup is the speed of the NAS and it can take a few hours at times (we have about 20Gb of data to backup accross several servers), however this isnt a problem as it has no noticable effect on the servers.

  10. #10
    Member
    Join Date
    Sep 2006
    Location
    USA
    Posts
    86

    Default

    I use incremental backups, after changing the extracpu setting to 3 in /var/cpanel/cpanel.config it is much faster and doesn't bog down system. cpuwatch was at 2.0 while cpbackup is running.

  11. #11
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default anyone use

    has anyone here used acronis or r1soft ?



    Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.

  12. #12
    Member
    Join Date
    Aug 2001
    Location
    Wisconsin
    Posts
    121

    Default

    We will be setting up r1soft here shortly and I'd be happy to let you know how it goes.

    Data center says they have ~ 20 Linux/cPanel boxes running r1soft now and that it's superb -- so I am looking forward to it, to say the least.

    Bailey
    toast and jam.

Similar Threads & Tags
Similar threads

  1. cpbackup bogs down server
    By ANewDay in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 06-30-2007, 03:47 PM
  2. Server crashes when cpbackup starts
    By CoolMike in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-22-2006, 07:46 AM
  3. cpbackup on dns only server; what is it used for?
    By krisdv in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-09-2005, 02:51 AM
  4. cpbackup brings server down
    By CoolMike in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-24-2004, 09:39 AM
  5. backup bogs down server... why?
    By dandanfireman in forum cPanel and WHM Discussions
    Replies: 30
    Last Post: 06-27-2004, 05:08 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube