[olug] adding swapfile
Will Langford
unfies at gmail.com
Mon Jan 29 21:33:44 UTC 2007
That'd be it.
Dunno if I like a swap file being located anywhere in a 'tmp' directory
where some root-permissioned script might want to delete it, though.
And it'll get ya around 12GB of swap.
You'll prolly need a startup script or add it to fstab or something to get
it to be used after reboots as well.
-Will
On 1/29/07, Noel Leistad <noel at noelleistad.com> wrote:
>
> been asked to add swap to "production system"
>
> System manages to run w/ single "instance" of SAP, adding "second
> instance", system crashes. Owner suspects SWAP
>
> target system running SAP
>
> 100MB /boot
> 130GB /
> 4G RAM
> NO SWAP
>
> Swap recommendations I've seen
> 4096MB RAM -- > 13300MB Swap??
>
> SO, confirming:
>
> dd if=/dev/zero of=/usr/tmp/newswapfile bs=1024 count=12583000
>
> then
>
> mkswap /usr/tmp/newswapfile
>
> swapon /usr/tmp/newswapfile
>
>
> ??
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list