Re: Kernel deadlock using nbd over acenic driver.

Peter T. Breuer (ptb@it.uc3m.es)
Thu, 16 May 2002 07:19:43 +0200 (MET DST)


"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/