Plesk

PHP-FPM processes of a domain run for too long

Symptoms

Cause

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.

Resolution

  1. Log in to Plesk.
  2. Set the pm.max_requests parameter to 100 in the menu Domains > example.com > PHP Settings and click OK or Apply in the bottom of the page to save the changes:

mXcwdYQHb0Q.png

Exit mobile version