Re: TCP memory pressure question

From: Alex Riesen (Alexander.Riesen@synopsys.com)
Date: Fri Nov 22 2002 - 04:18:22 EST


On Thu, Nov 21, 2002 at 05:27:45PM -0800, Nivedita Singhvi wrote:
> > When a Linux machine has reached the tcp_mem limit, what will happen to
> > 'write's on non-blocking sockets? Will they block until more TCP memory is
> > available? Will they return an error code? ENOMEM?
> >
> > If it varies by kernel version, details about different versions would be
> > extremely helpful. I'm most interested in late 2.4 kernels.
> >
> > Thanks in advance.
> Returns EAGAIN.
> Fairly static ~late 2.4.

returns number of bytes sent and sets errno to EAGAIN.

-alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:39 EST