Re: How to Increase Swap Memory in Centos 4.4?

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



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?

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.
_______________________________________________
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