Operating System - HP-UX
1752796 Members
6025 Online
108789 Solutions
New Discussion

Re: Severe SWAP space shortage 91%

 
SOLVED
Go to solution
shikhar_1
Regular Advisor

Severe SWAP space shortage 91.000%

Hi,

 

I am getting the alert of swap memory is at threshold.

 

swapinfo -tam
             Mb      Mb      Mb   PCT  START/      Mb

TYPE  AVAIL  USED  FREE USED   LIMIT RESERVE  PRI  NAME
dev        1024      85     939    8%       0       -    1  /dev/vg00/lv_swap1
dev        1024      84     940    8%       0       -    1  /dev/vg00/swap2
dev        1024      84     940    8%       0       -    1  /dev/vg00/swap3
dev        1024      84     940    8%       0       -    1  /dev/vg00/swap4
dev        1024      84     940    8%       0       -    1  /dev/vg00/swap5
dev        1024      84     940    8%       0       -    1  /dev/vg00/swap6
reserve       -    5065   -5065
total      6144    5570     574   91%       -       0    -

 

However it is showing with the above command is 8% by echo swap lvol, then how come it has become 91%.And also memory utilisation is not showing the swapinfo o/p.

 

 

B3692A Glance C.04.73.400       13:53:30 ncsitsm2 9000/800    Current  Avg  High
--------------------------------------------------------------------------------
CPU  Util   S                         SARUU                    | 61%   61%   61%
Disk Util   F                                                  |  2%    2%    2%
Mem  Util   S         SU                         UB        B   | 96%   96%   96%
Swap Util   U  UR                                        R     | 91%   91%   91%
--------------------------------------------------------------------------------
                                   SWAP SPACE                       Users=    2

Swap Device                     Type        Avail       Used     Priority
--------------------------------------------------------------------------------
/dev/vg00/lv_swap1             device       1.0gb       85mb        1
/dev/vg00/swap2                device       1.0gb       84mb        1
/dev/vg00/swap3                device       1.0gb       84mb        1
/dev/vg00/swap4                device       1.0gb       84mb        1
/dev/vg00/swap5                device       1.0gb       84mb        1
/dev/vg00/swap6                device       1.0gb       84mb        1

 

 

 

--------------------------------------------------------------------------------
CPU  Util   S                       SRUU                       | 55%   61%   65%
Disk Util   F  F                                               |  9%    5%    9%
Mem  Util   S         SU                         UB        B   | 96%   96%   96%
Swap Util   U  UR                                        R     | 91%   91%   91%
--------------------------------------------------------------------------------
                                 MEMORY REPORT                      Users=    2
Event         Current   Cumulative   Current Rate   **bleep** Rate   High Rate
--------------------------------------------------------------------------------
Page Faults       773         1841       154.6      146.1       154.6
Page In             0            0         0.0        0.0        66.8
Page Out            0            0         0.0        0.0         0.0
KB Paged In       0kb          0kb         0.0        0.0         0.0
KB Paged Out      0kb          0kb         0.0        0.0         0.0
Reactivations       0            0         0.0        0.0         0.0
Deactivations       0            0         0.0        0.0         0.0
KB Deactivated    0kb          0kb         0.0        0.0         0.0
VM Reads            0            0         0.0        0.0         0.0
VM Writes           2            4         0.4        0.3         0.4
Total VM :   5.8gb   Sys Mem  :   1.7gb   User Mem:   4.3gb   Phys Mem :   8.0gb
Active VM:   3.8gb   Buf Cache:   1.6gb   Free Mem:   342mb   FileCache:      na
MemFS Blk Cnt:               na   MemFS Swp Cnt:               na   Page 1 of 1

 


Appreciate youre reply.

6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Severe SWAP space shortage 91.000%

You have 91% of your swap space RESERVED.  That is, processes that are running have reserved that much space just incase they need it.  It is only actually using 8% of your swap space.

Dennis Handly
Acclaimed Contributor

Re: Severe SWAP space shortage 91%

>also memory utilisation is not showing the swapinfo output.

 

What HP-UX version are you using?

You need to enable pseudo-swap by turning on swapmem_on(5).

Patrick Wallek
Honored Contributor
Solution

Re: Severe SWAP space shortage 91%

>>>also memory utilisation is not showing the swapinfo output.

 

>What HP-UX version are you using?

>You need to enable pseudo-swap by turning on swapmem_on(5)

 

You must keep in mind that the memory utilization line in swapinfo, if pseudo swap is on, is NOT the amount of memory being used.  Rather, it is the amount that has been allocated for pseudo-swap.  There is a difference!

Dennis Handly
Acclaimed Contributor

Re: Severe SWAP space shortage 91%

>it is the amount that has been allocated for pseudo-swap.

 

Yes but if it isn't there, your system is misconfigured.

shikhar_1
Regular Advisor

Re: Severe SWAP space shortage 91%

OS vers is 11.11

 

Dennis Handly
Acclaimed Contributor

Re: Severe SWAP space shortage 91%

>OS version is 11.11

 

Unfortunately you'll need to reboot after doing: kmtune -s swapmem_on=1

(Even on 11.23)  So it would be good to do when convenient.