swap sizing in a kickstart script

Rainer Duffner rainer at ultra-secure.de
Fri Jan 11 15:26:40 UTC 2008


Gerrard Geldenhuis wrote:
> Hi Jimmy,
> I am not sure if there is a variable that you can use to calculate swap
> size based on memory.
>
> In our situation we know all the machines have the same amount of memory
> and allocate a static size.
>
> part swap --size=1000   --maxsize=2000
>
> I am not aware of a "Redhat recommended" swap size. The convention used
> to be to have swap double the memory, but these days I don't know how
> appropriate that is. I don't fancy an >8Gb swap file...
>
>   

Swap should be at least a bit more than your maximum anticipated RAM-size.
So you can make crash-dumps easily.
If your box can take 32 GB RAM (AMD-servers of late - latest Intel can
even take more), this might be problematic ;-)


cheers,
Rainer




More information about the Kickstart-list mailing list