mark.b...@thales-is.com wrote:
> I see frequent error messages, which appear to be caused by send()
> failing, but unfortunately the code does not log why (perror() etc).
> As the programs are very busy & an important system I am loath to
> attach a debugger and print errno.
Maybe strace will do? It's still a debugger of some kind (because it uses
ptrace to attach to a process), but proper code will not crash from using
it (and if it does, you can just simply restart it).
Maybe send() is interrupted by a signal?
--
Gof