You might probably consider also to check your mpm_event and php-fpm pool configurations as these may cause the overloading of your CPU and memory resources.
Hardware and performance
Moodle causing 100% CPU usage suddenly
This discussion has been locked so you can no longer reply to it.