Ran hundreds of mtcAgent process kills -INT and -TERM overnight nd did not get any core dumps
while true do sm-unmanage service mtc-agent pkill -term mtcAgent sleep 3 date /usr/local/bin/mtcAgent -l -a s=$((1 + RANDOM % 30)) echo "sleeping $s seconds" sleep $s ps -efL | grep mtcAgent ls /var/lib/systemd/coredump/ sleep 2 done
and another variation that restarted mtcAgent by SM.
Ran hundreds of mtcAgent process kills -INT and -TERM overnight nd did not get any core dumps
while true bin/mtcAgent -l -a systemd/ coredump/
do
sm-unmanage service mtc-agent
pkill -term mtcAgent
sleep 3
date
/usr/local/
s=$((1 + RANDOM % 30))
echo "sleeping $s seconds"
sleep $s
ps -efL | grep mtcAgent
ls /var/lib/
sleep 2
done
and another variation that restarted mtcAgent by SM.