Re: 2.5.74-mm3 OOM killer fubared ?

Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz)
Thu, 10 Jul 2003 19:46:36 +0200 (CEST)


> Enough memory free, no problems at all .. yet every few minutes
> the OOM killer kills one of my innfeed processes.
>
> I notice that in -mm3 this was deleted relative to -vanilla:
>
> -
> - /*
> - * Enough swap space left? Not OOM.
> - */
> - if (nr_swap_pages > 0)
> - return;
>
> .. is that what causes this ? In any case, that should't vene matter -
> there's plenty of memory in this box, all buffers and cached, but that
> should be easily freed ..

This is not cause, it only makes the bug more obvious.

With that code it is wrong too, it would trigger exactly same unnecesary
oom kills if you didn't have swap or if you had swap full and lot of free
memory as dirty filesystem cache.

Mikulas

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