Re: Memory Leaking. Help!

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 14 Apr 2002 15:05:54 +0100 (BST)


> 10 Days ago I installed DNS and DHCPd servers from RedHat and noticed that
> "top" shows the amount of consumed memory is slowly and constantly
> growing. Machine became unstable and a few users complained that their
> files disappeared. ( we have good backup ). I re-booted 4 days ago and now
> it looks it is doing it again. Could this be BIND?

Wildly improbable. Slow shifts in memory usage occur naturally so don't be
totally mislead by it. Named for example will grow and shrink over time
according to what it has cached and what people asked for.

> 1) Could you please advice how can I detect memory leaks. ( I guess it is
> not an easy task on production server.
>
> 2) Is there a tool which I can use to log memory usage

ps, looking in /proc at the address space maps too.

What you almost certainly want to do first is run memtest86 as suggested
by others.

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