mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* buffer leakage in kernel?
@ 2003-01-24 12:49 Roman Dementiev
  2003-01-24 18:07 ` Andreas Dilger
  2003-01-24 21:02 ` Andrew Morton
  0 siblings, 2 replies; 6+ messages in thread
From: Roman Dementiev @ 2003-01-24 12:49 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: dementiev

Hello everyone,

I've met with following problem (kernel 2.4.20-pre4 ):
I write and read sequentially from/to 8 files each of 64 Gbytes (not a
mistake, 64 Gbyte),
each on different disk. The files are opened with flag O_DIRECT. I have
1 Gbyte RAM, no swap.
While this scanning is running, number of "buffers" reported by ''free"
and in /proc/meminfo
is continuously increasing up to ~ 500 MB !! When the program exits
normally or I break it, number
of "buffers" does not decrease and even increases if I do operations on
other files.

This is not nice at all when I have another applications running
with memory consumption > 500 MB: when my "scanner" approaches 50G
border on
each disk, I've got numerous  "Out of memory" murders :(. Even 'ssh' to
this machine
is killed :(

Could anyone explain why it happens? I suppose that it is a memory
leakage in
file system buffer management.
Is it fixed already in any patch?


Bye,
Roman



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-04 12:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-24 12:49 buffer leakage in kernel? Roman Dementiev
2003-01-24 18:07 ` Andreas Dilger
2003-01-24 21:02 ` Andrew Morton
2003-01-27 16:57   ` Roman Dementiev
2003-01-27 20:51     ` Andrew Morton
2003-02-04 12:58       ` Roman Dementiev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome