Re: eth0: memory shortage

Andrew Morton
2002-07-03T20:24:38Z

Teodor Iacob wrote:
>
> Hello,
>
> I keep getting these messages (like about twice a day) in the messages:
> eth0: memory shortage
> eth0: memory shortage
> eth1: memory shortage
> eth1: memory shortage
>
> Any idea what could be the reason behind this?
>

It means that the ethernet driver's Rx interrupt handler was not
able to allocate a new receive buffer - there wasn't enough memory
available.

The `kswapd' kernel thread is supposed to make memory available
for interrupt context but in this case it is obviously not keeping
up.

The driver recovers from the failed allocation, so things are OK.

-