100% CPU & process usage
-
Hi everyone, I know this topic has been around for quite a while but I haven’t been able to resolve my issue.
I am building 4 websites with a light-weight theme and minimum plugins. WP-cron is disabled and it’s running manually once per hour. RAM limit is 1,5GB.
Theme: GeneratePress (extremely light-weight)
CDN: Optimole
Cache: WP Fastest Cache
Optimization: Autoptimize
WordPress 5.7 on PHP 7.4Other plugins: Yoast, iThemes security, WP 2FA, WP Armour, Simple CSS, Shortcodes Ultimate, Popup anything on click, Contact Form 7, WP statistics
I have tried disabling the hardest possible CPU usage culprits: iThemes and Statistics but the result was the same.
Websites are very lightweight and with minimal coding – all 4 websites are scoring A on GTmetrix with 95+ on structure.
Last time my websites crashed – there were around 30 people connected at the same time and “ps aux” gave out that one of the website’s index.php is using all the resources (around 20 processes opened). I know that everything goes over index.php etc.
When my websites are idle – Memory usage is around 800mb of RAM which is waaay too much IMO. CPU is generally OK, but spikes A LOT even after 5 users are browsing through the website.
I tried contacting my host and they said it has to be one of the plugins, but I have not found a solution yet.
When websites are idle, there are around 25 “lsphp” processes constantly running in the background – using out these 800MB of RAM.
Any thought, advice or suggestion would be really helpful.
- The topic ‘100% CPU & process usage’ is closed to new replies.