Re: OOM-killer too aggressive?

From: Chris Largret
Date: Sun Feb 26 2006 - 20:45:55 EST


On Sun, 2006-02-26 at 18:22 -0600, Marcelo Tosatti wrote:
> On Sun, Feb 26, 2006 at 12:56:10PM -0800, Chris Largret wrote:
> > $ readelf -S vmlinux
> > There are 52 section headers, starting at offset 0x2548488:
>
> <snip>
>
> > [49] .shstrtab STRTAB 0000000000000000 02548212
> > 0000000000000273 0000000000000000 0 0 1
> > [50] .symtab SYMTAB 0000000000000000 02549188
> > 00000000000b3898 0000000000000018 51 20791 8
> > [51] .strtab STRTAB 0000000000000000 025fca20
> > 0000000000096692 0000000000000000 0 0 1
>
> More than 40MB, that should partially explain it...

Ouch. I hadn't noticed that and will have to see about bringing that
down a little. It's the same size when compiling without SMP, and the
OOM Killer doesn't cause problems then. There is something else that is
causing these problems.

>From using ls on the *.o files, it appears (as expected) that most of
this is the built-in drivers. The pruning should be fun. :)

--
Chris Largret <http://daga.dyndns.org>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/