TCP memory pressure question
Quoted 9 lines
When a Linux machine has reached the
tcp_memlimit, 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.
thanks,
Nivedita
Quoted 10 lines · Nivedita Singhvi
Quoted 8 lines
When a Linux machine has reached the
tcp_memlimit, 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