[lkml]   [2002]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: TCP memory pressure question
    On Thu, 2002-11-21 at 21:34, David Schwartz 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?

    from write(2) man page.

    EAGAIN Non-blocking I/O has been selected using O_NONBLOCK and the write
    would block.

    // Gianni Tedesco (gianni at ecsc dot co dot uk)
    lynx --source | gpg --import
    8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2005-03-22 13:31    [W:0.028 / U:6.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site