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.

selecting background running processes

Discussion in 'General Discussion' started by Mike St, Aug 20, 2014.

  1. Mike St

    Mike St Member

    Joined:
    Jul 21, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I don't know the best section to post this but here goes...

    On my server with WHM/Cpanel installed, I noticed alot of entries in my crontab similar to the following:

    Code:
    0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
    30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
    0 9 * * * /usr/local/cpanel/bin/backup
    35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
    45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
    30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
    45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
    30 */3 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
    15 */3 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
    15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
    02 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    33 4 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
    0,15,30,45 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    00 5 * * * /usr/local/cpanel/scripts/upcp --cron
    00 10 * * * /usr/local/cpanel/scripts/cpbackup
    I modified some numbers in the file because some services were running too frequently or at the wrong time, particularily the dcpumon service.

    I looked all over the place to try to find out what each service does and whether or not I can safely remove it from ongoing execution.

    Any idea?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Those are all standard cron jobs configured by the cPanel software. Is there any particular reason you prefer to remove them?

    Thank you.
     
  3. Mike St

    Mike St Member

    Joined:
    Jul 21, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes. I want to focus the server on handling webpage requests without background processes slowing the server down.
    And if I can safely eliminate some without affecting the overall operation of cpanel/whm then I will.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I can't recommend removing any of them because they are all related to the proper functioning of cPanel/WHM. Is there one cron job in particular that you are having trouble with (load related or otherwise)?

    Thank you.
     
  5. Mike St

    Mike St Member

    Joined:
    Jul 21, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    No, but sometimes I run tests at random times on my server (particularly TTFB or time-to-first-byte tests) and sometimes I get a high number coming from my server which is bad. most of the time i get a low number. I just think that sometimes these processes will hog resources well enough to the point where the whole server slows down. If I can identify them then at least I know what to keep or remove and even if removing is a bad idea, I should be able to adjust them individually so that less system resources are being used per process.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The next time you notice this problem, please review the following thread for tools/guides on how to determine the cause of the increased usage:

    Troubleshooting High Loads On Linux Servers

    This will help narrow down what particular process is causing the excessive usage.

    Thank you.
     
Loading...

Share This Page