System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

swap space utilization is high.

SOLVED
Go to solution
vikramjeet
Occasional Visitor

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
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
Occasional Visitor

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
samay_hcl
Advisor

Re: swap space utilization is high.

Thanks Johnson for support.
Emil Velez
Honored Contributor

Re: swap space utilization is high.

You are not using your swap space.

Notice the 0% next to your device swap.

Ignore the line with memory since that is pseudo swap.


memory utilization is high.

Look you have 256 GB of physical memory and 30 GB of swap. The pseudo swap that allows you to use all of your memory means that you are using all of your memory. Good capacity planning.

Your cpu utilization is 40% and your free memory is 10GB. Looks like your system has enough memory for the application. You might have some disks that are being hit more than others but otherwise you look like in good shape.



Question is
Dennis Handly
Acclaimed Contributor

Re: swap space utilization is high.

>what is reserve?

Allocated device swap but not used.

So what's wrong? You may not be able to start very many new processes if you want to increase the load on the system.