Re: Large Ramdisk creation causes crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).

I have created 10MB and 100MB ramdisks which seem to work fine. Writing and rewriting work as expected (and fast!). It's only when I create more and larger drives do I encounter problems.

Brandon


Andy Green wrote:

perl -e 'print 1 x 600000000' > /mnt/r0

In the example given, you seem to be copying 600MB of '1's to the
mountpoint?  (I don't know Perl).  Maybe things would go differently if
you sent this to a file on the mountpoint... eg

dd if=/dev/zero of=/mnt/r0/testfile bs=1024 count=450000

At some point the machine seems to just freeze and crash. It responds to
ping but is unresponsive to ssh or other input and must be powercycled.
I know there is enough free memory for this. It seems to happen when I
fill just under half of the memory I should have allocated... Allocating
less (< 40%) seems to work just fine.

Hm I would try a single 128 Ram drive and see if I could fill it up, if
the first idea didn't help.

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux