Greetings,
I face a very strange problem.
On one of my servers /bin/timeout does not work as expected. Does not send SIGKILL (-9)!
If I issue:
/bin/timeout -k 3s 3s dig @7.7.7.7 google.com
this will timeout on every other FreeBSD 13.2 server, but on one particular VPS instance the timeout will not kill the dig that is trying and retrying (7.7.7.7 is not a valid DNS).
On every other FreeBSD the above command will terminate in 6 seconds. On this particular 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64
it will never terminate.
If I issue from another terminal
killall -9 timeout
it will kill this. So one day /bin/timeout stopped sending SIGKILL signals?
On the same server if I issue
/usr/local/bin/gtimeout -k 3s 3s dig @7.7.7.7 google.com
the command terminates.
Does this server requires a reboot? Very strange even for me that I though that I had see many things over the last 30 years on BSD.
# uptime
9:47AM up 39 days, 9:28, 10 users, load averages: 0.44, 0.71, 0.65
all my FreeBSD have the same MD5 (both the ones that work OK and also this VPS that does not).
# md5sum /bin/timeout
4fccec7e1914ba2a302c898bc872760d /bin/timeout
freebsd-update IDS does not print any error.
If you want to give me some commands to try to help debug it I will do it.
Soon I will perform the reboot, because many scripts of mine utlize /bin/timeout and it is essential for the well-being of the machines.
Thank you all!
I face a very strange problem.
On one of my servers /bin/timeout does not work as expected. Does not send SIGKILL (-9)!
If I issue:
/bin/timeout -k 3s 3s dig @7.7.7.7 google.com
this will timeout on every other FreeBSD 13.2 server, but on one particular VPS instance the timeout will not kill the dig that is trying and retrying (7.7.7.7 is not a valid DNS).
On every other FreeBSD the above command will terminate in 6 seconds. On this particular 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64
it will never terminate.
If I issue from another terminal
killall -9 timeout
it will kill this. So one day /bin/timeout stopped sending SIGKILL signals?
On the same server if I issue
/usr/local/bin/gtimeout -k 3s 3s dig @7.7.7.7 google.com
the command terminates.
Does this server requires a reboot? Very strange even for me that I though that I had see many things over the last 30 years on BSD.
# uptime
9:47AM up 39 days, 9:28, 10 users, load averages: 0.44, 0.71, 0.65
all my FreeBSD have the same MD5 (both the ones that work OK and also this VPS that does not).
# md5sum /bin/timeout
4fccec7e1914ba2a302c898bc872760d /bin/timeout
freebsd-update IDS does not print any error.
If you want to give me some commands to try to help debug it I will do it.
Soon I will perform the reboot, because many scripts of mine utlize /bin/timeout and it is essential for the well-being of the machines.
Thank you all!