Large Ramdisk creation causes crashes
Tony Nelson
tonynelson at georgeanelson.com
Wed Oct 26 23:14:58 UTC 2005
At 12:40 PM -0700 10/26/05, Brandon Ooi wrote:
>Hi Andy,
>
>Sorry that wasn't an exact transcript. I was actually doing...
>
>perl -e 'print 1 x 600000000' > /mnt/r0/file0
>
>which fills the drive and then stops. This seems to work as long as the
>total number of 1's I write to ram is less than 40% of total memory I
>have (regardless of how large the ramdisks are or how many I create).
Does this work?
$ perl -e 'print 1 x 600*1000*1000' > /dev/null
How about something like this?
$ perl -e 'for($i=0;i<10;++i) { print 1 x 60*1000*1000 }' > /mnt/r0/file0
I.E, is perl using all your memory and then not properly crashing?
Note that I don't know perl.
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
More information about the fedora-list
mailing list