[nsd-users] nsd 4.0 EAGAIN loop in sendmmsg(2)

Dustin Marquess dmarquess at gmail.com
Fri Nov 29 00:29:43 UTC 2013


On NetBSD 6.99.28-CURRENT, nsd 3.2.16 works fine, however nsd 4.0.0 is
spinning chewing CPU.  The logs show:

Nov 28 23:07:00 xxx nsd[466]: sendmmsg failed: Resource temporarily
unavailable

ktruss shows it getting EAGAIN from sendmmsg(2) over and over again.
 According to the man page:

     [EAGAIN|EWOULDBLOCK]
                        The socket is marked non-blocking and the requested
                        operation would block.

Sounds like it's blocking when it shouldn't?

-Dustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20131128/170fab59/attachment.htm>


More information about the nsd-users mailing list