Re: out of memory

From: Andrew Morton
Date: Tue Apr 04 2006 - 04:55:42 EST


Ingo Freund <Ingo.Freund@xxxxxxxxxx> wrote:
>

Please don't edit Cc:'s when working with kernel developers - just do
reply-to-all.

> Andrew Morton wrote:
> > Ingo Freund <Ingo.Freund@xxxxxxxxxx> wrote:
> >> Apr 2 10:56:11 dbm kernel: 8538 pages slab
> >
> > and it's not in slab.
> >
> >> Apr 2 10:56:11 dbm kernel: Symbols match kernel version 2.6.13.
> >
> > Boy, 2.6.13 was a long time ago - I'm sure we fixed many leaks since then,
> > but I do not recall any particular patch which might fix this, sorry.
> >
> > Your best option would be to seek a kernel upgrade.
>
> I'll give a try to the last kernel version

OK, 2.6.16.1 would suit.

> Is there a way to get those kernel/memory information from time
> to time from the running system which I found in the syslog file?

/proc/meminfo gives a decent summary.

To watch your ZONE_NORMAL disappearing it would be better to monitor
/proc/zoneinfo. There you'll see `free', `active', `inactive' and
`present'. In /proc/meminfo you'll find the slab utilisation.

It should be approximately true that free+active+inactive+slab = present.
-
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/