[lkml]   [2003]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: O_DIRECT leaks memory on linux-2.6.0-test9
Gene Heskett <> wrote:
> On Friday 21 November 2003 02:55, Andrew Morton wrote:
> >IWAMOTO Toshihiro <> wrote:
> >> It'll take a while to leak a noticable amount of memory. So I
> >> reduced the amount of memory using a boot option.
> >
> >Well I'll be darned. I took a new version of fsstress and it
> > happens here too. We're leaking anonymous memory. -mm doesn't do
> > any better, either.
> Running 2.6.0-test9-mm4, default as scheduler
> That triggerd me to go look at ksysguard, and I've got 70 megs out in
> swap in less than 24 hours uptime with my normal loading. Usually it
> takes me a couple of weeks to get that much as I've half a gig of
> main memory.

That's good. The kernel has given you 70 megs more memory.

> Its also showing about 95 megs free.

free memory isn't really relevant. If there's plenty of `buffers' and
pagecache around then it's mostly reclaimable.

> Would this leak
> show up there (ksysguard), and if so, in what section?

I don't know.

> T'would be nice if xosview were to be made operable, but this kernel
> breaks it. I used to keep it running in the corner of one of my
> screens.

I had a patch for that. Maybe it got merged. You should hunt down the
upstream source and try it out.

For diagnosing this sort of thing it is best to learn to read the /proc

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.045 / U:0.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site