Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running out of buffers?



On April 28, Roy Marples wrote:
> On 27/04/2018 23:58, Robert Elz wrote:
> > We really need to turn off the error on recv() by default - and allow it
> > to be turned on by applications that actually want to deal with this.
> 
> Why should we special case reporting this error instead of others?
> While NetBSD might be the first BSD to report ENOBUFS for recv(), it's 
> certainly not the first OS to do so.

I suspect NetBSD may be the first and only to return ENOBUFS for recv()
on ordinary UDP sockets, and that this has broken BIND, which is
treating ENOBUFS on UDP recv() as an unrecoverable error; see PR misc/53421
and http://mail-index.netbsd.org/tech-kern/2018/08/07/msg023815.html .

If there actually existed another OS that exhibited this behavior,
then surely BIND would have exposed the issue long ago, and either
BIND or the OS in case would have been fixed.

Please restore the old behavior, at least for UDP sockets.
-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index