- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap issue.
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
Forums
Discussions
Discussions
Discussions
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
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-16-2008 10:51 PM
03-16-2008 10:51 PM
swap issue.
I was getting following message in syslog and it is clear that swap is heavily utilized.
Deferred swap reservation failure pid: 10205
Although glance was showing swap and memory utilization as almost 100%, swapinfo -tam output gives a different picture.Is there any bug in swapinfo outputs.Please refer following outputs..
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 20512 1723 18789 8% 0 - 1 /dev/vg00/lvol2
dev 8672 1719 6953 20% 0 - 1 /dev/vg01/lvswap1
dev 8672 1714 6958 20% 0 - 1 /dev/vg01/lvswap2
dev 8672 1717 6955 20% 0 - 1 /dev/vg01/lvswap3
reserve - 39655 -39655
memory 78529 75169 3360 96%
total 125057 121697 3360 97%
CPU Util S SR R | 49% 49% 49%
Disk Util F F |100% 100% 100%
Mem Util S SU UBB | 98% 98% 98%
Swap Util U UR R | 97% 97% 97%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 10:58 PM
03-16-2008 10:58 PM
Re: swap issue.
check your kernel paramaeter and its value set like,
dbc_max_pct
dbc_min_pct
swapmem_on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:03 PM
03-16-2008 11:03 PM
Re: swap issue.
ok
then i think it will be ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:10 PM
03-16-2008 11:10 PM
Re: swap issue.
How much RAM do you have?
You MUST have at least as much swap allocated, or one form or another, as you have RAM in the machine. According to your swapinfo output, you can fully utilize almost 120MB of RAM when you add together your device swap (40MB) and your "Pseudo-swap" (the memory line) approx. 78MB.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:25 PM
03-16-2008 11:25 PM
Re: swap issue.
Pseudo swap is enabled. My question is although glance shoows 97% swap utilization, how did swapinfo -tam output shows much lesser utilization for swap space?
Swap Util U UR R | 97% 97% 97%
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 20512 1723 18789 8% 0 - 1 /dev/vg00/lvol2
dev 8672 1719 6953 20% 0 - 1 /dev/vg01/lvswap1
dev 8672 1714 6958 20% 0 - 1 /dev/vg01/lvswap2
dev 8672 1717 6955 20% 0 - 1 /dev/vg01/lvswap3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:38 PM
03-16-2008 11:38 PM
Re: swap issue.
the output shows first % is Current then Average then High
the values are not constant.
did u check your kernel parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:39 PM
03-16-2008 11:39 PM
Re: swap issue.
the figures do tally!
97% (glance) - 97% (swapinfo)
Below an extract from my system: 5% (glance) - 5%(swapinfo)
--------------------------------------------------------------------------------
CPU Util S SA | 8% 8% 8%
Disk Util V | 1% 1% 1%
Mem Util S SU UB B | 19% 19% 19%
Swap Util URR | 5% 5% 5%
--------------------------------------------------------------------------------
SRV2:>swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 0 512 0% 0 - 1 /dev/vg00/lvol2
dev 9728 0 9728 0% 0 - 0 /dev/vg01/swap01
reserve - 465 -465
memory 6310 351 5959 6%
total 16550 816 15734 5% - 0 -
SRV2:>
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 01:56 AM
03-17-2008 01:56 AM
Re: swap issue.
Please see the "FREE" field in my swapinfo output- what it has that much swap space free eventhough glance repots 100% utilization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 02:39 AM
03-17-2008 02:39 AM
Re: swap issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 08:18 AM
03-17-2008 08:18 AM
Re: swap issue.
Do you know who 10205 is?
This process is evil and seems to have asked that swapspace not be charged until the page is touched. I'm not sure how this affects the swapinfo bookkeeping?
>ahsan: did you set pseudo swap in your system?
Of course, that's why the "memory" line shows up.
>Don: the point to the total line is that it did the math for you
Right, that's why if you don't want to strain your brain, you only look at the total line.