• blackkaviar

    (@blackkaviar)


    Hi all,

    Since the last 3 days my CPU usage has been very high. When I check the “top” command it shows that this particular account has been constantly running about 50-90% of the CPU usage (I’m using VPS and have few sites on it).
    When someone helped me to dig deeper, he found CPU usage is coming from this script
    /usr/bin/php /home/user001/public_html/wp-content/themes/index.php
    When he ran a strace command using “strace -vvfp 13840” to try and see what the script was doing, which results in it flooding the screen with the following output:
    access(“/home/”, R_OK) = -1 EACCES (Permission denied)
    access(“/home/”, R_OK) = -1 EACCES (Permission denied)
    access(“/home/”, R_OK) = -1 EACCES (Permission denied)

    The script seems to be trying to access /home with permissions it does not have, and I am not sure why it would need to access /home at all, as it should only be trying to access files within it’s directory.
    That’s all that he can help for troubleshooting this.
    Can anyone please give me some advise where should I go from here?
    Any help would be much appreciated.

Viewing 1 replies (of 1 total)
  • The entire contents of
    wp-content/themes/index.php
    are:

    <?php
    // Silence is golden.
    ?>

    If you have something different then maybe you have been hacked.

    Check your site with this service:
    https://sitecheck.sucuri.net/
    here are other similar services on the net.

    If you can’t fix it, please post the url to your site.

Viewing 1 replies (of 1 total)
  • The topic ‘CPU Usage Very High’ is closed to new replies.