[lkml]   [2001]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectToo much memory causes crash when reading/writing to disk
I have done a bit more work on the problem I reported in my message
"Crashes reading and writing to disk". To recap, on a machine with
8GB of RAM, either

dd if=/dev/zero bs=1G count=10 | split -b 1073741824


find /bigfulldisk -type f -exec cat {} \; > /dev/null

can reliably cause a crash. In my naive view, it seems like once a
certain amount of memory is being completely used for disk buffer
(cache, whatever, excuse my not knowing the proper term) the kernel
gets very confused and dies. The dd dies after having written about

Booting the machine with mem=3000M avoids the crashes. I haven't done
a binary search to determine what the maximum amount of memory I can
use is before the problem exhibits itself. Hopefully this provides a
hint as to what could be causing the problem. If any more information
would be useful, please ask.

To go along with this, are there any parameters in /proc/sys/vm/* that
I could tune to avoid these crashes?

Jeff Lessem.
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 12:57    [W:0.024 / U:1.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site