NetBSD-Users archive

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

Re: ENOBUFS when setting SO_SNDBUF



On Mon, Oct 11, 2010 at 08:59:12PM +0200, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> 
> > > You mean that if I do not set SO_SNDBUF, it willinrease automatically
> > > until it reaches net.inet.tcp.sendbuf_max?
> > 
> > That's the idea.  
> 
> I gave it a try, and got ENOBUFS on a writev()...

But you were already getting that, right?  Because your system is genuinely
out of mbufs, because something is leaking them.

*That* is the problem to hunt for, rather than trying to paper over it
with workarounds!

Thor


Home | Main Index | Thread Index | Old Index