Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

Installing swapspace

SOLVED
Go to solution
mehul_3
Regular Advisor

Installing swapspace

Hi all
Following result is shown after executing swapinfo
# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 6144 277 5867 5% 0 - 1 /dev/vg00/lvol2
reserve - 5867 -5867
memory 2336 2209 127 95%
total 8480 8353 127 99% - 0 -

and disk utilisation is as follows:
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1024000 98032 918784 10% /
/dev/vg00/lvol1 503736 84744 368616 19% /stand
/dev/vg00/lvol8 5120000 400824 4682376 8% /var
/dev/vg00/lvol7 3072000 1082296 1974176 35% /usr
/dev/vg03/lvol5 102400000 92355080 9966504 90% /u05
/dev/vg03/lvol4 20480000 3448 20156616 0% /u04
/dev/vg03/lvol3 51200000 24370952 26619456 48% /u03
/dev/vg03/lvol2 51200000 26093560 24910360 51% /u02
/dev/vg03/lvol1 51200000 27526848 23488208 54% /u01
/dev/vg00/lvol4 1024000 75376 941776 7% /tmp
/dev/vg01/lvol1 10240000 3754560 6282850 37% /oracle
/dev/vg00/lvol6 3072000 1220240 1837304 40% /opt
/dev/vg00/lvol5 2048000 132432 1900648 7% /home
/dev/vg01/lvol2 16384000 3504332 12478526 22% /arch

Could anybody tell a steps how to increase a swapspace from mentioned 6GB to 9GB.

Regards,
Mehul

7 REPLIES
Adisuria Wangsadinata_1
Honored Contributor

Re: Installing swapspace

Hi Mehul,

You can just add another 3GB swap space into your file system (can be on any VG, not always on VG00).

Check the url below (docID : KBAN00000218) about 'Configuring Device Swap' :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000075322187

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Muthukumar_5
Honored Contributor

Re: Installing swapspace

/dev/vg00/lvol2 is being as swap space in system.

You can increase that primary swap with the follwoing link as,

http://www2.itrc.hp.com/service/james/search.do?todo=search&searchtext=extending+swap+space&from=forums&origin=0&submit.x=0&wpa=forums1.itrc.hp.com%3A80&submit.y=0&searchcategory=ALL&hpl=1&searchcriteria=allwords&rn=25&source=7000&chkServStor=on&presort=rank&esc=support.itrc.hp.com&admit=-1335382922+1135838427784+28353475

If you want you can create secondary swap and use that space too.

-Muthu
Easy to suggest when don't know about the problem!
Steven E. Protter
Exalted Contributor
Solution

Re: Installing swapspace

Shalom Mehul,

Note that increasing swap beyond 9-12 GB on this system will be counter productive, pulling down performance.

If the system is still under stress after this change, which requires a reboot, the next step is to purchase more memory.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eric Antunes
Honored Contributor

Re: Installing swapspace

Hi Mehul,

I agree with Steven. From your swapinfo output, you may need more physical memory than swap.

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Tvs
Regular Advisor

Re: Installing swapspace

hi.

from the swapinfo output ,,
memory 2336 2209 127 95%
the usage of the physical memory is 95%.
so to improve the performance . increase the physcial memory

regards

Tvs
mehul_3
Regular Advisor

Re: Installing swapspace

Thanks for help to all.
To resolve out of memory issue, oracle recommends to inrease a swap space but as many guys suggests it would be counter effect and looking for another permanent solution.

Regards,
Mehul