System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Tru64 Unix Swap space is below 10 percent

reemala
Occasional Advisor

Tru64 Unix Swap space is below 10 percent

Hello,

I am getting messages that 'the swap swap is below 10 percent' and some times 'not able to allocate the requested swap space'. It's is old system. Oracle database is running on this system.

Below is the configuration of my system:

OS : OSF1 V4.0 1229 alpha
Memory: 256 MB
Swap space : 512 MB

So I want to increase the swap space. I have only one partition is free in one of the Hard disk which is the system disk. What I mean is it contains the /, /usr /var and the existing swap. The diskconfig of the same is as below:

# size offset fstype [fsize bsize cpg] # NOTE: values not exact
a: 2097152 0 AdvFS # (Cyl. 0 - 412*)
b: 1048576 2097152 swap # (Cyl. 412*- 619*)
c: 35565080 0 unused 0 0 # (Cyl. 0 - 7000)
d: 2097152 3145728 AdvFS # (Cyl. 619*- 1032*)
e: 2097152 5242880 AdvFS # (Cyl. 1032*- 1444*)
f: 14680064 7340032 AdvFS # (Cyl. 1444*- 4334*)
g: 8415779 22020096 AdvFS # (Cyl. 4334*- 5991*)
h: 5129205 30435875 unused 0 0 # (Cyl. 5991*- 7000)

Can I use the last partition ( that is 'h') for the additional swap partition? Right now I can't go for RAM increase.

Please suggest.

Thanks & Regards,
Martin



6 REPLIES
Rob Leadbeater
Honored Contributor

Re: Tru64 Unix Swap space is below 10 percent

Hi Martin,

Yes you should be able to use the h partition to add some swap as it doesn't appear to be used.

Define the new partition in /etc/fstab and install with swapon.

# man swapon

for more info...

Hope this helps,

Regards,

Rob
Venkatesh BL
Honored Contributor

Re: Tru64 Unix Swap space is below 10 percent

Yes, you can add as mentioned by Rob. I think he is referring to
/etc/sysconfigtab file (not /etc/fstab).
Rob Leadbeater
Honored Contributor

Re: Tru64 Unix Swap space is below 10 percent

Nope. It's /etc/fstab in Tru64 4.0 if I remember correctly...

Cheers,

Rob
reemala
Occasional Advisor

Re: Tru64 Unix Swap space is below 10 percent

Thank you very much for the replies.
I will get back to you if there is any problem.

Thanks & Regards,
Martin
Rob Leadbeater
Honored Contributor

Re: Tru64 Unix Swap space is below 10 percent

Cool. Remember to assign points if people have helped you out.

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

Cheers,

Rob
Hein van den Heuvel
Honored Contributor

Re: Tru64 Unix Swap space is below 10 percent

Since you have the partition, you might as well use it.

An alternative MIGHT be to switch to lazy swap mode = overcommitment mode. THis is more flexible, uses less ressources, but it hurts much more if you ever really run out as the OS in stead of preventing a new process from being creates will pick a random process to shoot down which is likely to be a criticsal Oracle process

Just use man pages for swapon and
/sbin/swapdefaults

Or google for +tru64 +v4 +lazy

Hein.