![]() |
Configuring swapfile error
I installed oracle linux 6 on my desktop but I forgot to configure the swapfile, I want to install oracle 11gr2 on it and it requires 2gig or ram, if I type the following commands on the terminal I get these
[root@localhost ~]# grep MemTotal /proc/meminfo MemTotal: 1789764 kB You have new mail in /var/spool/mail/root [root@localhost ~]# grep SwapTotal /proc/meminfo SwapTotal: 0 kB [root@localhost ~]# df -k /tmp Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda4 100704696 5106508 90482644 6% / [root@localhost ~]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda4 100704696 5106508 90482644 6% / tmpfs 894880 100 894780 1% /dev/shm [root@localhost ~]# How do I set the swap file to the required ram for oracle installation which requires 2gig any ideas on how I can go about it? |
You need a free partition on your disk. Check with fdisk -l
After verifying or creating a free partition (I'd say 4G of space is sufficent) you create your swap partition with mkswap /dev/name_of_your_part Edit /etc/fstab and add the swap partition (Here is one for reference) Code:
[root@casnode1 ~]# cat /etc/fstabOr is there some special "swap" for oracle itself? |
Quote:
@congos Quote:
Note that, if it really uses 2 Gigs on a continuous basis, and you think that adding a little swap will just make the issues go away, that is probably wrong.
Of course, you could get away with this if either
|
| All times are GMT -5. The time now is 10:06 AM. |