[lkml]   [2002]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: Kernel deadlock using nbd over acenic driver.
    On Tue, 14 May 2002, chen, xiangping wrote:

    > But how to avoid system hangs due to running out of memory?
    > Is there a safe guide line? Generally slow is tolerable, but
    > crash is not.

    If the system runs out of memory, it may try to flush pages that are
    queued to your NBD device. That will try to allocate more memory for
    sending packets, which will fail, meaning the VM can never make progress
    freeing pages. Now your box is dead.

    The only way to deal with this is to have a scheme for per-socket memory
    reservations in the network layer and have NBD reserve memory for sending
    and acknowledging packets. NFS and iSCSI also need this, though it's a
    bit harder to tickle for NFS. SCSI has DMA reserved memory for analogous

    "Love the dolphins," she advised him. "Write by W.A.S.T.E.."

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:26    [W:0.039 / U:7.796 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site