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!

Fixing cpuwatch limit while cpbackup not possible.

Discussion in 'Data Protection' started by fenixer, Feb 25, 2009.

  1. fenixer

    fenixer Well-Known Member

    Joined:
    Feb 23, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Hello.....

    While cpbackup, I do a "ps" and have:

    Well...... I need to configure that "14" limit, but:

    Also at tweak settings there is not any 14 anywhere......
    "The load average above the number of cpus at which logs file processing should be suspended (default 0)" is 6.

    "The load average that will cause the server status to appear red (leave blank for default, whole numbers only)" is 6 also.

    So........ where could I configure that maximum load por cpuwatch executed by cpbackup???

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. fenixer

    fenixer Well-Known Member

    Joined:
    Feb 23, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Hi....... it seems to be these lines of /scripts/cpbackup:

    The interested parameter is: "$cpunum.0"

    This is the one controlling the maximun load to pause working on proccess...

    But...... what is cpunum.0?????????????

    Could I simply overwrite and set "10" by example?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    If you look at the top of the script you will notice:

    Code:
    my $cpunum       = cPScript::Cpu::getcpucount();
    

    Cpu::getcpucount retrieves the number of processors from /proc/cpuinfo on Linux systems. Then the value of extracpus, which is the Tweak Setting The load average above the number of cpus at which logs file processing should be suspended, is added to the number.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    Would be great if "The load average above the number of cpus at which logs file processing should be suspended (default 0)" could use negative integer number.
     
    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