Re: How to Increase Swap Memory in Centos 4.4?

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



Bart Schaefer wrote:
On 4/3/07, Pham Hai <haisoncompany@xxxxxxxxx> wrote:
To install Oracle Database 10g, I need to increase the swap memory to 1004
MB.

Tangential aside:  Does anyone have an informed opinion on whether the
"swap should be double RAM" rule still makes sense?

It never did. I couldn't see why, if I upgraded my Pentium from 64 Mbytes+128 Mbytes I should add swap if I added 128 Mbytes RAM.



Couldsomebody explain how to do this the fastest way? Thanks!

Assuming you've got the free disk space:

# dd if=/dev/zero of=swapfile bs=1024 count=512K
# mkswap swapfile
# swapon swapfile

(replace "swapfile" above with an appropriate path for your system).

Eventually you should make a permanent swap out of a real disk
partition, perhaps by adding a drive to the machine.

Why?



--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux