- Plesk for Linux
- PHP-FPM processes of a domain run for too long, consuming too much memory and causing server malfunction.
- Site contains a never ending script.
- No DDoS attacks detected - can be checked using the How to find what sites are or were under DDoS attack article.
- No suspicious activity found using PHP-FPM process is constantly running article.
- pm.max_requests parameter is set to unlimited.
PHP application code doesn't finish, and due to max_requests is unlimited, the php-fpm processes are not being rotated and increasing in resources consumption over time.
- Login to Plesk UI.
- Set the pm.max_requests parameter to 100 in Domains > example.com > PHP settings: