lkml.org 
[lkml]   [2003]   [Nov]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 20 Nov 2003 23:17:49 -0800
FromAndrew Morton <>
SubjectRe: O_DIRECT leaks memory on linux-2.6.0-test9
IWAMOTO Toshihiro <iwamoto@valinux.co.jp> wrote:
>
>  recently I noticed that direct IO causes memory leaks with
>  linux-2.6.0-test9.
>  The program that causes memory leaks is "fsstress", which is
>  testcases/kernel/fs/fsstress in ltp-full-20031106.tgz (ftp from
>  http://sourceforge.net/projects/ltp/).
> 
>  fsstress does various file operations, and I found that the problem is
>  with the combination of write and dread (O_DIRECT read).
>  You should be able to reproduce the bug with the following command
>  line.
> 
>  $ while true; do ./fsstress -c -d /usr/src/test -z -f write=1 \
>   -f dread=1 -f creat=1 -S -n 1000 -p 32; done

It seems OK here.   Please take a copy of /proc/meminfo and /proc/slabinfo.

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

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2008