Operating System - HP-UX
1752758 Members
4958 Online
108789 Solutions
New Discussion юеВ

Re: swap space utilization is high.

 
SOLVED
Go to solution
vikramjeet
New Member

swap space utilization is high.

Hello experts

I want to know reason why swap utilization is so high? could you please more clear on output of swapinfo command?
what is reserve?
please see the attachemet and suggest how can i reduce swap utilization.
12 REPLIES 12
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

>>>>I want to know reason why swap utilization is so high?<<<

To see what is using all your swap / virtual memory:

Check with below command

$ UNIX95= ps -efo vsz,ruser,pid,ppid,args | sort -rn | more
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

>>>could you please more clear on output of swapinfo command?<<

man swapinfo


reserve = Paging space on reserve. This is the amount of paging space that could be needed by processes.

>>please see the attachemet and suggest how can i reduce swap utilization<<

I would suggest , to check which process eating all you swap ,
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

looks "like you application process" eating all your "swap" >>468328 twsprd82 14886<<

I suggest you "escalte to your Application/Database team"

sometime it could also application problem causing issue.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

* I would consider "server may be busy" do to the heavy work load

* also Check for any "Disk bottle" & shared memory load?

# ipcs -mob
-- What is the shared memory load?


# sar -d 5 50
-- What is the disk I/O load?
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor
Solution

Re: swap space utilization is high.

if satisfied with answers.

How to assign points check the below link

http://forums13.itrc.hp.com/service/forums/helptips.do?admit=109447627+1256027208667+28353475#33
Problems are common to all, but attitude makes the difference
vikramjeet
New Member

Re: swap space utilization is high.

Hello Johnson,

I attached the sar and ipcs output.
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

# ipcs -mob
IPC status from /dev/kmem as of Sun Feb 14 04:56:04 2010
T ID KEY MODE OWNER GROUP NATTCH SEGSZ

Shared Memory:

m 3375157 0x18d65c78 --rw-r----- oracle dba 286 16022274048
m 54 0x5d20b0ac --rw-r----- oracle dba 38 49341890560
m 294967 0x85fc3a38 --rw-r----- oracle dba 263 127423201280
m 98360 0x929b2b8c --rw-r----- oracle dba 141 11525971968


Looks like you have 4 (oracle) DB instances on the server you got "ipcs -mod"

How much RAM do you have on this particular server and how much SWAP?

swapinfo -mat
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

Is server "Kernal parameter's has been set according to Oracle recommdations /standard ?

It may be also well be your RAM is not sufficient for the Oracle load running ?

can you also check VM starvation by paying attention for "sr"

vmstat 5

sr = pages scanned by clock algorithm
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: swap space utilization is high.

For more information,
Check the below thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=99729
Problems are common to all, but attitude makes the difference