Re: Slow, persistent memory leak in 2.6.20

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fred Tyler <fredty8@...>
Cc: <linux-kernel@...>
Date: Sunday, August 26, 2007 - 1:03 pm

On Sunday 26 August 2007 17:16, Fred Tyler wrote:

If you can reclaim "leaked" memory this way, it means that
you found a bug where cached data is incorrectly kept
in RAM in preference of other data.
(I'm assuming that you do have real problems after some time
of "leaking" memory - you mention that you get swap storms
and eventually machine is dead.)


Yes, it's safe to do, anytime.

It's just a command to kernel to drop as much of currently
accumulated filesystem cache as it can. It is strictly
a debugging/benchmarking aid.

If you end up needing to do it once in a while to keep your machine
alive, something is definitely wrong.
--
vda
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 10:39 am)
Re: Slow, persistent memory leak in 2.6.20, Jesper Juhl, (Sun Aug 26, 6:16 pm)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 11:51 am)
Re: Slow, persistent memory leak in 2.6.20, Jan Engelhardt, (Sun Aug 26, 11:52 am)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 12:16 pm)
Re: Slow, persistent memory leak in 2.6.20, Denys Vlasenko, (Sun Aug 26, 1:03 pm)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 1:41 pm)
Re: Slow, persistent memory leak in 2.6.20, Jan Engelhardt, (Sun Aug 26, 1:44 pm)
Re: Slow, persistent memory leak in 2.6.20, Jan Engelhardt, (Sun Aug 26, 12:30 pm)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 12:58 pm)
Re: Slow, persistent memory leak in 2.6.20, Jan Engelhardt, (Sun Aug 26, 1:42 pm)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 12:49 pm)
Re: Slow, persistent memory leak in 2.6.20, Jan Engelhardt, (Sun Aug 26, 12:58 pm)
Re: Slow, persistent memory leak in 2.6.20, Fred Tyler, (Sun Aug 26, 11:40 am)
Re: Slow, persistent memory leak in 2.6.20, Alexey Dobriyan, (Sun Aug 26, 11:32 am)