1846634 Members
1979 Online
110256 Solutions
New Discussion

swapinfo 99%

 
SOLVED
Go to solution
Jerry L. Sims
Frequent Advisor

swapinfo 99%

Hello All,

Does anyone what would be the best way to find out why my swapinfo now say 99% ?

*******************
HP-UX B.11.11 U 9000/800/rp7410
*******************
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 4096 -4096
memory 6457 6397 60 99%
total 10553 10493 60 99% - 0 -
*******************************
total memory =
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 8372224 Kbytes, lockable: 6599604 Kbytes, available: 7580184 Kbytes
**************************

The following changes have been made :
1) lvcreate -L 4096 -n swap -C y -r n /dev/vg00

2) swapon -p 1 /dev/vg00/swap

3) swapinfo -ta ( to view info )
example /etc/fstab entry:

4) Add to /etc/fstab :
/dev/vg00/swap ... swap pri=1 0 1 #device swap

****************************
swapinfo -tam does not display the new swap area, Is there something else I need to do?


swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 4096 -4096
memory 6457 4273 2184 66%
total 10553 8369 2184 79% - 0 -

******************************
I also plan to change the following kernel parms after I get the new swap area to take :
current:
kmtune | egrep "maxswapch|dbc"
dbc_max_pct 50 - 50
dbc_min_pct 5 - 5
maxswapchunks 2048 - 2048
kmtune | egrep "maxswapch|dbc"
dbc_max_pct 15 - 15
dbc_min_pct 5 - 5
maxswapchunks 4096 - 4096
new :


3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: swapinfo 99%

Sounds like a plan to me.
Although I would encourage you to plant that swap on another VG then 00.
Bottom line is any pressure you could possibly take off vg00 is $ in the bank.

My $0.02,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bruno Ganino
Honored Contributor

Re: swapinfo 99%