In case of freezing of any processes within the hosting account, you can connect to it via SSH and forcibly terminate them.
To view the list of running processes, run the command:
ps aux
To terminate a specific process, run the following command, substituting PID
process id from output results ps aux
(number from column PID
):
kill PID
To terminate all PHP processes, run the following command:
kill $(pgrep -f php)
To force quit all processes at once, run the following command:
pkill -9 -u $(whoami)
After executing the command, all processes running in your hosting account will be forcibly terminated. This will also automatically disconnect the SSH connection.