1834617 Members
3184 Online
110069 Solutions
New Discussion

100% Swap usage

 
jaivinder
Frequent Advisor

100% Swap usage

Hi Gurus,

One of my HP rx 4640 server running HP UX 11i V2 is showing 100% swap usage.The swapinfo result is as below:
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32752 0 32752 0% 0 - 1 /dev/vg00/pswap
reserve - 32308 -32308
total 32752 32308 444 99% - 0 -

Here the reserved swap is 99 % utilized. Please advice.
5 REPLIES 5
Jeeshan
Honored Contributor

Re: 100% Swap usage

what is your dbc_max_pct and dbc_min_pct parameter values?
a warrior never quits
Asif Sharif
Honored Contributor

Re: 100% Swap usage

Jeeshan
Honored Contributor

Re: 100% Swap usage

i guess you need to change the kernel parameter to enable pseudo swap.

kernel parameter
swapmem_on 1

otherwise you need to change the dbc_max_pct and dbc_min_pct kernel parameters.
a warrior never quits
Rasheed Tamton
Honored Contributor

Re: 100% Swap usage

Hi Jaivinder,

You are not using pseudoswap and enabling would help as Ahsan said. But please post:
kctune|grep dbc
(that would give the parameters related to your buffer)

Minimizing the dbc_max_pct to 5 would free some memory from the buffer cache.
The command is (if it is 11iV2)
kctune dbc_max_pct=5

The older version required reboot for changing the value. So make sure the kernel parameter is dynamic.
Rasheed Tamton
Honored Contributor

Re: 100% Swap usage

dbc_max_pct is dynamic on 11iV2.