I have a function that through exec() kills a php-fpm process.
exec("kill -9 ".$pid);
Everytime I call it, a line gets added to the php-fpm log
WARNING: [pool xxxxxx] child 18120 exited on signal 9 (SIGKILL) after 308.956597 seconds from start
Is it possible to kill the process silently, without the signal being logged in the fpm log? Thanks!
Please try with below solutions I think it will be work for you.:
Above was worked for me.