Open heapdavid opened 8 months ago
Needrestart tries to compares the inode information from /proc/$PID/maps
with the corresponding files in the filesystem. For some reasons the stat call seems to fail for some reasons: https://github.com/liske/needrestart/blob/c62b1529c5af3a78ad209ff942b289d4b4cdb45a/needrestart#L555
The path is the first available: at https://github.com/liske/needrestart/blob/c62b1529c5af3a78ad209ff942b289d4b4cdb45a/needrestart#L543-L544
Do you have any special filesystem setup? This might also happen if the process terminates while needrestart is investigating the procfs. :thinking:
Hi, we run
needrestart -b
on a cron and occasionally see the following output to stderr on some of our busier servers. We're struggling to reproduce reliably as it's pretty rare and intermittent.Have seen there was a similar issue a while ago but that looked to be fixed at the time.
We're running Debian 12 (Bookworm)
Please let me know if you need any further information
Thanks