[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Large Ramdisk creation causes crashes



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@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Home]     [Current Fedora Users]     [Fedora Legacy List]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]     [Plasma TV]     [Lil the Pill]     [Squid Users]

Powered by Linux

Google
  Web www.spinics.net