First of all, I want to say that this panel is AWESOME. This is my first experience mounting a complete server environment and it really helped me to make the process very easy.
I've started with a small Digital Ocean droplet (1CPU + 1GB) for testing purposes and I saw the CPU issue. I assumed that I needed a better droplet, so I resized to 2CPUs + 4GB CentOs 8 + LNMP (Nginx + MySQL 5.7 + Apache 7.4) as per the doc's recommendation.
Unfortunately, when a WordPress page/post is hitten, the CPUs load goes up to 100%.
I'm using the optimized plan for 2-4GB in Mysql with opcache installed.
By using the cloudflare's cache plugin everything goes fine, but when it's not used, like in admin pages or new posts that are not cached yet, the load goes between 90-100%.
The WordPress sites have a really low concurrency and it's not regarded DoS attacks since it's a new droplet IP and also the Firewall shows no warnings.
The htop
command shows me that the issues come from php-fpm wich uses about 95% of CPU when page loads:
php-fpm: pool www
Any help will be appreciated
Regards