Maintained by: NLnet Labs

Unbound exiting on stats write failure?

W.C.A. Wijngaards
Tue Sep 20 09:58:39 CEST 2016


Hi Havard,

The error is on a pipe between unbound processes (threads).  It should
not be out of resources (it might block of course, waiting for them, and
blocking pipes are not a problem for unbound, but this error is like a
pipe randomly breaks up).

Are you on OpenBSD?  Perhaps upgrade the kernel?

Best regards, Wouter

On 20/09/16 09:47, Havard Eidnes via Unbound-users wrote:
> Hi,
> 
> one of our unbound hosts recently exited, and before it did, it
> logged this:
> 
>   Sep 19 14:25:56 xxxxxxx unbound: [96:4] error: tube msg write failed: Resource temporarily unavailable
>   Sep 19 14:25:56 xxxxxxx unbound: [96:4] fatal error: could not write stat values over cmd channel
> 
> Now, we're periodically polling stats via "unbound-control stats" and
> feeding this into collectd, and our collectd hasn't exactly been fully
> stable.  However, is there a good reason the failure to write the
> stats values is considered a fatal error?  One would have thought that
> it would not be, and that abandoning the output channel would be a
> rasonable error recovery mechanism, allowing the main task of unbound
> to proceed uninterrupted?
> 
> Regards,
> 
> - Håvard
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20160920/5c9062ca/attachment.sig>