[plug] 2GB swap limit

Rob Dunne Rob.Dunne at CSIRO.AU
Fri Aug 20 14:31:04 WST 2004



Michael Holland writes:
 > On Thu, 19 Aug 2004, Rob Dunne wrote:
 > 
 > >     is there still a 2GB limit on swap space? All
 > 
 >   # swapon my-big-file
 >   swapon: my-big-file: File too large
 > 
 > Yes. Thats a 2.6.3 kernel. I notice mkswap will happily create larger ones
 > though.

The  2GB limit appears to have gone on 64 bit machines.

% cat /proc/swaps
Filename                        Type            Size    Used    Priority
/dev/sda3                       partition       2040244 0       -1
/dev/sdb1                       partition       17775880        0       -2
/dev/sdc1                       partition       17775880        0       -3

% cat /proc/meminfo | grep Swap
Swap: 38494212096        0 38494212096
SwapCached:          0 kB
SwapTotal:    37592004 kB
SwapFree:     37592004 kB

% uname -a
Linux ribosome.nsw.cmis.csiro.au 2.4.21-15.0.3.ELsmp #1 
SMP Tue Jun 29 17:46:55 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

-- 
Rob Dunne         Fax: +61 2 9325 3200     Tel: +61 2 9325 3263
CSIRO Mathematical and Information Sciences     +61 2 9325 3100
Locked Bag 17, North Ryde, New South Wales, Australia, 1670         
http://www.bioinformatics.csiro.au Email: Rob.Dunne at csiro.au

        Java has certainly revolutionized marketing and litigation.



More information about the plug mailing list