Ubuntu Kill all processes and reload php-fpm

If at any stage you need to kill a bunch of process which are exhausting the server then you can use following commands:

List running processes using:

top -i
Now Kill matching processes:
sudo killall -KILL php-fpm7.2

Reload PHP FPM:

sudo systemctl start php7.2-fpm.service

Leave a Reply

Your email address will not be published. Required fields are marked *