- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: high swap utilisation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 04:01 AM
тАО03-24-2009 04:01 AM
high swap utilisation
This thread is for a high swap utilisation in one of our server. As of now , there is no impact in the server.But need to know the reason behind this high swap utilisation.
# swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2560 1556 1004 61% 0 - 1 /dev/vg00/lvol2
dev 500 500 0 100% 0 - 1 /dev/vg00/lvol9
reserve - 1004 -1004
memory 2077 1699 378 82%
total 5137 4759 378 93% - 0 -
Do I need to add additional swap logical volumes for this , will that going to recover from this situation ?
Expecting valuable advise from you guys...
Many Thanks in Advance ...
Bijoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 04:10 AM
тАО03-24-2009 04:10 AM
Re: high swap utilisation
In addition to the above , pasting the output of print_manifest on the Physical memory and swap configuration.
System Hardware
Model: 9000/800/D390
Main Memory: 2816 MB
Processors: 2
OS mode: 64 bit
HW capability: 32 or 64 bit
LAN hardware ID: 0x080009AF6DFC
LAN hardware ID: 0x00306E0F00B3
Software ID: 2013620986
Keyboard Language: Not_Applicable
Swap configuration
type size priority device/location
dev 2560 1 /dev/vg00/lvol2
dev 500 1 /dev/vg00/lvol9
Thanks and Best Regards..
Bijoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 06:59 AM
тАО03-24-2009 06:59 AM
Re: high swap utilisation
Whats ur buffer cache util ?
What does ipcs -am shows ? any orphaned SGAs ?
try using UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR>1' | sort -rnk2 |more
to find if any process running hot
Regards
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 07:08 AM
тАО03-24-2009 07:08 AM
Re: high swap utilisation
Whenever a new process starts, it will reserve some space on swap for future use. If at all that needs swap space then those reserved space will be used. That way only swap space will be occupied.
If you really want to know the swapping activity, use vmstat command and look at the values pi and po. This will provide the page in and page out activities. If page in and page out activity happens, it means it is physical memory bottleneck. You should consider to increase the physical memory.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 07:11 AM
тАО03-24-2009 07:11 AM
Re: high swap utilisation
See this thread to know more about swap space utilisation.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1288219
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 07:54 AM
тАО03-24-2009 07:54 AM
Re: high swap utilisation
Do you expect to add more applications/users?
Are you running into out of memory errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 09:10 AM
тАО03-24-2009 09:10 AM
Re: high swap utilisation
If you are getting out of memory areas the short term solution is to add swap.
However this will not improve performance and might even make it worse. The long term answer is to purchase and add memory to the system. Decreasing memory demand is an option but I have yet to succeed when I propose that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 11:12 AM
тАО03-24-2009 11:12 AM
Re: high swap utilisation
Swapping is high which is a bad sign
PCT USED:
/dev/vg00/lvol9: 100%
/dev/vg00/lvol2: 61%
Reserve swap : 1004 MB
Device swapping might imply to page-outs which are taking place in your server
vmstat will be showing lot of page-out(po)
# vmstat 1 1
1. Increasing the swap is not a permanent solution
2. You need to find out why the physical memory is getting exhausted.
May be you need to tune the application, or reduce the load or increase the physical memory on the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 11:56 AM
тАО03-24-2009 11:56 AM
Re: high swap utilisation
You already have 2.5GB of code swapped out to the two swap volumes (500MB + 1556MB), so adding memory will help but not eliminate you disk swapping. If the stuff that is swapped out already is idle you may be ok, otherwise if it is active, your server will be extremely slow to almost unusable. You need to clean all unnecessary processes to conserver memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2009 03:38 PM
тАО03-24-2009 03:38 PM
Re: high swap utilisation
Since code isn't swapped out, you probably meant "data". :-)