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.

pkgacct using many resources

Discussion in 'General Discussion' started by DBJoshua, Nov 28, 2007.

  1. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Is there a way to regulate how many resources pkgacct/gzip take up on a server? Right now, someone is backing up an account, and it's creating a load of over 10, with i/o wa at 80% (in a raid10 sata2 array on a very underloaded box)

    Is there something that can be done?
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    One solution: You could consider disabling user initiated backups and just offer them your daily / weekly backups directly from the system.
     
  3. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    hi jayh38, i'm interested to know more how that can be done.

    can someone guide me over?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Remove the Backup feature via feature manager.
     
  5. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    While that's a workaround, it's not what I was looking for. Allowing users to create their own backups (or account moves) is necessary for anyone with a legitimate business and TOS. You obviously do not want to be responsible for data loss should something happen and the provider's backups are corrupted.

    Any other solutions?
     
  6. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    I believe all the backup functions cPanel does run at normal priority which I always thought was very strange. When I gzip an archive I always set the highest nice value possible while cPanel to my knowledge does not thus bogging things down quite a bit more. Maybe there is a technical reason for this I'm not sure really
     
  7. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    actually i experience the same thing.. a backup was running and it goes above 10.x server load. apache was down. unable to restart via WHM (keep failing) and can't restart on SSH either telling me Virtual name server and stuffs like that httpd restart but it does not run (No pid running)
     
  8. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Is there a way to permanently set gzip and pkgacct to the "nicest" value?
     
  9. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    We have one server that takes 40 hours to complete a daily backup....
    There needs to be a better backup option really thats done on a server wide basis and not per account.
     
  10. Bailey

    Bailey Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    120
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Wisconsin
    There is such a solution ... r1soft. It does a far nicer job than cPanel's backups ever did**... and doesn't drive the load up at all. The nicest feature is the ability for the customer to restore individual files on demand, right from their cPanel! :cool:

    ** I say this as someone who's used the cPanel backup system for over 5 years... been there/done that :)

    I use r1soft backups at Handy Networks. I'm told they do have external pricing available if you're interested, drop them an email (sales@).

    :D Bailey
     
  11. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16

    The problem with all these add on systems is they are very difficult to manage across lots of servers, especially if cpanel decides to make a change that stops them working.
    We back up our UK systems onto a Bluarc NAS which solves the problem but getting the backups off is the difficult bit.
     
  12. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I took a look @ R1 a while ago and they have a great solution. The problem comes from full account restores/backups (which are user controlled).
     
  13. Bailey

    Bailey Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    120
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Wisconsin
    The r1soft backup system is completely separate from cPanel, it's at the OS level, so cPanel can't break it...... as far as the link in their cPanel, it's just a simple ln -s, no biggie. ;)

    Also, r1soft's system makes it very easy to manage across multiple servers. Not only is there a single administrator login to the r1soft server, but each user can login directly from their cPanel to manage their data restores themselves.

    :D Bailey
     
  14. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Can we get someone from cPanel to answer this one?
     
  15. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Well this was just pushed onto RELEASE

    Enhancements:
    Backups now nice 19
     
Loading...

Share This Page