Page 1 of 1

php-fpm restart is killing the domain update process

Posted: Sun May 31, 2020 2:11 pm
by youradds
I'm trying to figure out why php-fpm takes so long to restart. When I edit a domain from the web interface, upon updating the domain it hangs for ages. Doing a "ps aux | grep restart", I can see its hanging on:

Code: Select all

root     29839  0.0  0.0  64928  3036 ?        S    13:59   0:00 systemctl restart php-fpm.service
Upon looking into it, I see that it doesn't seem to restart fast at all

Code: Select all

service php-fpm start = quick
service php-fpm restart  = 30+ seconds to run! 
Where could I look to debug this? I have quite a few sites on the server (50). Would that make much of a difference? None of them are high traffic and the server load is minimal when the restarts happen / during the restart

Thanks

Andy