Jump to content

High CPU usage by cron.php for prolonged period


perry470

Recommended Posts

Been using WHMCS for six months now. I never really noticed this issue until I recently took a look at the processes by typing in the command ps -aux and found out that the cron.php has almost reached 100% CPU usage. Not sure what would've caused that.

 

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
32027     1759 99.3  2.4 289864 202300 ?       RNs  08:00 556:56 php -q /home/tech2007/public_html/clients/admin/cron.php

 

Low memory usage, but it is almost hogging the entire CPU by itself. The status shows that it is indeed running but with a low-priority (indicated by the lower-case s) It also seems to be running for some time now. (556 minutes)

 

 

Here are the charts produced by MRTG

 

 

71379317.jpg

 

 

 

49962466.jpg

 

 

 

Both the Load and CPU usage stats match with the time the cron.php is executed. It actually runs for 12 hours total every day. I took a look inside cron.php and realized it was encrypted. What could be the cause of such high CPU usage ? Thanks for all your help in advanced.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated