strange thing is that it will spike on cpu usage and then drop back to zero makes me think malware but every scan i run comes back with nothing
just ran pingdom im at 5s for loadtime
is there a way to track what the php processes are? they will shoot up to 6 and then drop to 0 or 1. if i could decode what they are maybe i could backtrack to the cause
not sure how it works but the content folder is listed at 4kb in the file view but there are items inside it larger than that. would this have an impact?
running a plugin to reduce size of all my pics not sure if this could be the issue but we will see.
I recently ran into high CPU usage warning from my host (HostGator). They almost suspended my account and the website was loading super slow. I found that even with Comments disabled from the WordPress settings, bots can access Comments and ping it or post messages. Someone pinged the Comments close to 100 times in one minutes hence a a very high CPU usage and extremely slow site loading time.
To fix the problem, I removed two lines
<?php comments_template( '', true ); ?>
<?php comments_template(); ?>
from the theme’s code.
So your problem could be same as mine. It wasn’t a malware but simply pingging the Comments by some bot.
I have no idea why WordPress Developers at Automattic don’t include a method to get rid of Comments completely. Probably because each theme developer place the code in different .PHP pages. But I think they should standardize it and add a quick way to remove it.
is there a way to see if that is the issue prior to making this type of change?