Re: Kernel deadlock using nbd over acenic driver.

From: Peter T. Breuer (ptb@it.uc3m.es)
Date: Thu May 16 2002 - 00:19:43 EST


"Oliver Xymoron wrote:"
> 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 system can avoid this by

 a) not flushing sync (i.e. giving up on pages that won't flush immediately)
 b) being nondeterministic about it .. not always retrying the same
    thing again and again.

Can one achieve those characteristics? I suspect setting the vm
sync boundary to 100% should arrange for (a)?

Peter
-
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 : Thu May 23 2002 - 22:00:11 EST