Operating System - HP-UX
1748195 Members
2709 Online
108759 Solutions
New Discussion

Re: swap space is increasing in HP-UX

 
ashraf_islam
Advisor

swap space is icreasing automatically in hp-ux

I have blade integrity server, OS is hp-ux . Here RAM size is 256.GB . This is datavbase server.

Here swap space is automatically increased day by day and when reached to 90%, server is hanged. Though RAm is using 60% that time.

have any solution to stop the swap increase automatically.....??

5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: swap space is increasing in HP-UX

You need to figure out which process is using the memory.

What does "swapinfo -tam" show before it goes bad?  Do you have top(1) output?

ashraf_islam
Advisor

Re: swap space is icreasing automatically in hp-ux

#swapinfo -tan
                 Kb          Kb           Kb   PCT      START/          Kb
TYPE          AVAIL        USED         FREE  USED       LIMIT     RESERVE  PRI  NAME
dev        67108864    32241556     34867308   48%           0           -    1  /dev/vg00/lvol2
reserve           -    34867308    -34867308
memory    255214016   141130528    114083488   55%
total     322322880   208239392    114083488   65%       -           0    -

System: uatdb2                                        Tue Apr 17 15:37:08 2018
Load averages: 0.29, 0.28, 0.27
446 processes: 375 sleeping, 71 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.51  32.8%   0.0%   0.2%  67.0%   0.0%   0.0%   0.0%   0.0%
 2    0.44  38.1%   0.0%   0.6%  61.3%   0.0%   0.0%   0.0%   0.0%
 4    0.44  51.2%   0.0%   1.0%  47.8%   0.0%   0.0%   0.0%   0.0%
 6    0.47  92.1%   0.0%   0.0%   7.9%   0.0%   0.0%   0.0%   0.0%
 8    0.62  37.5%   0.0%   0.8%  61.7%   0.0%   0.0%   0.0%   0.0%
10    0.49  32.2%   0.0%   0.2%  67.6%   0.0%   0.0%   0.0%   0.0%
12    0.49  17.8%   0.0%   0.2%  82.0%   0.0%   0.0%   0.0%   0.0%
14    0.40  35.0%   0.0%   0.0%  65.0%   0.0%   0.0%   0.0%   0.0%
16    0.06   4.0%   0.0%   0.4%  95.7%   0.0%   0.0%   0.0%   0.0%
18    0.15  36.4%   0.0%   0.2%  63.4%   0.0%   0.0%   0.0%   0.0%
20    0.09   2.2%   0.0%   0.8%  97.0%   0.0%   0.0%   0.0%   0.0%
22    0.10   0.4%   0.0%   0.0%  99.6%   0.0%   0.0%   0.0%   0.0%
24    0.08  39.1%   0.0%   0.2%  60.7%   0.0%   0.0%   0.0%   0.0%
26    0.08  11.7%   0.0%   0.8%  87.5%   0.0%   0.0%   0.0%   0.0%
28    0.13   5.1%   0.0%   0.2%  94.7%   0.0%   0.0%   0.0%   0.0%
30    0.10  20.4%   0.0%   0.0%  79.6%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.29  28.6%   0.0%   0.2%  71.2%   0.0%   0.0%   0.0%   0.0%

Dennis Handly
Acclaimed Contributor

Re: swap space is increasing in HP-UX

That was "-tam".  You have plenty of free space now.

Your top output must list the processes, not just the CPUs.

ashraf_islam
Advisor

Re: swap space is increasing in HP-UX

But my swapspace is still 60% used.  What is the reason for this.

Dennis Handly
Acclaimed Contributor

Re: swap space is increasing in HP-UX

> What is the reason for this?

 

You'll need to get the output of ps(1) and add up the amount of swap each process is using.

Swap usage increases because the application requests it.  It may have a leak.