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!

pkgacct / gzip killing server load

Discussion in 'Workarounds and Optimization' started by Zion Ahead, May 7, 2010.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Nov 10, 2006
    Likes Received:
    Trophy Points:
    Every night when backup starts, it kills the server load to the roof.

    Any way to optimize this or limit the allowed memory/cpu it uses?

    I also noticed a lot of this:

    lfd - (child) (PT) checking user processes
    #1 Zion Ahead, May 7, 2010
    Last edited: May 7, 2010
  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    Well the first thing I would do is exclude "backup-*.tar.gz" files from the backup system as one of the most common mistakes made is users making their own backup archives and leaving them on their account daily so what happens is that you get a ping pong backup effect where you end up generating a backup of a backup of a backup and so forth and end up with really enough backups that are slow to build and utterly pointless.

    The second thing to take a hard look at is the web site access logs and statistics cache for the site as these can build quite large especially if sites have high traffic or log rolling is not enabled. These can also slow down your backup process and increase the loads as well.

    Also, you may want to check for symlinks and in particular pay attention to any that might result in a possible looping situation such as for example symlinking to ../public_html from within public_html, etc.

    # find /home/*/public_html -type l
    If client's (or your own sites) are using applications that "cache" data which is a fairly common technique for many applications, you may want to clear the cache that they generate periodically.

    You also may want to play around with "incremental" or regular "normal" archival backups depending on your situation each has it's own set of advantages and disadvantages.

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