- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Severe SWAP space shortage 91%
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
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
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
12-19-2011 10:55 AM
12-19-2011 10:55 AM
Hi,
I am getting the alert of swap memory is at threshold.
swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 85 939 8% 0 - 1 /dev/vg00/lv_swap1
dev 1024 84 940 8% 0 - 1 /dev/vg00/swap2
dev 1024 84 940 8% 0 - 1 /dev/vg00/swap3
dev 1024 84 940 8% 0 - 1 /dev/vg00/swap4
dev 1024 84 940 8% 0 - 1 /dev/vg00/swap5
dev 1024 84 940 8% 0 - 1 /dev/vg00/swap6
reserve - 5065 -5065
total 6144 5570 574 91% - 0 -
However it is showing with the above command is 8% by echo swap lvol, then how come it has become 91%.And also memory utilisation is not showing the swapinfo o/p.
B3692A Glance C.04.73.400 13:53:30 ncsitsm2 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util S SARUU | 61% 61% 61%
Disk Util F | 2% 2% 2%
Mem Util S SU UB B | 96% 96% 96%
Swap Util U UR R | 91% 91% 91%
--------------------------------------------------------------------------------
SWAP SPACE Users= 2
Swap Device Type Avail Used Priority
--------------------------------------------------------------------------------
/dev/vg00/lv_swap1 device 1.0gb 85mb 1
/dev/vg00/swap2 device 1.0gb 84mb 1
/dev/vg00/swap3 device 1.0gb 84mb 1
/dev/vg00/swap4 device 1.0gb 84mb 1
/dev/vg00/swap5 device 1.0gb 84mb 1
/dev/vg00/swap6 device 1.0gb 84mb 1
--------------------------------------------------------------------------------
CPU Util S SRUU | 55% 61% 65%
Disk Util F F | 9% 5% 9%
Mem Util S SU UB B | 96% 96% 96%
Swap Util U UR R | 91% 91% 91%
--------------------------------------------------------------------------------
MEMORY REPORT Users= 2
Event Current Cumulative Current Rate **bleep** Rate High Rate
--------------------------------------------------------------------------------
Page Faults 773 1841 154.6 146.1 154.6
Page In 0 0 0.0 0.0 66.8
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 2 4 0.4 0.3 0.4
Total VM : 5.8gb Sys Mem : 1.7gb User Mem: 4.3gb Phys Mem : 8.0gb
Active VM: 3.8gb Buf Cache: 1.6gb Free Mem: 342mb FileCache: na
MemFS Blk Cnt: na MemFS Swp Cnt: na Page 1 of 1
Appreciate youre reply.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 11:53 AM
12-19-2011 11:53 AM
Re: Severe SWAP space shortage 91.000%
You have 91% of your swap space RESERVED. That is, processes that are running have reserved that much space just incase they need it. It is only actually using 8% of your swap space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 12:34 PM
12-19-2011 12:34 PM
Re: Severe SWAP space shortage 91%
>also memory utilisation is not showing the swapinfo output.
What HP-UX version are you using?
You need to enable pseudo-swap by turning on swapmem_on(5).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 12:39 PM
12-19-2011 12:39 PM
Solution>>>also memory utilisation is not showing the swapinfo output.
>What HP-UX version are you using?
>You need to enable pseudo-swap by turning on swapmem_on(5)
You must keep in mind that the memory utilization line in swapinfo, if pseudo swap is on, is NOT the amount of memory being used. Rather, it is the amount that has been allocated for pseudo-swap. There is a difference!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 01:25 PM
12-19-2011 01:25 PM
Re: Severe SWAP space shortage 91%
>it is the amount that has been allocated for pseudo-swap.
Yes but if it isn't there, your system is misconfigured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 02:51 PM
12-19-2011 02:51 PM
Re: Severe SWAP space shortage 91%
OS vers is 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2011 09:04 PM
12-19-2011 09:04 PM
Re: Severe SWAP space shortage 91%
>OS version is 11.11
Unfortunately you'll need to reboot after doing: kmtune -s swapmem_on=1
(Even on 11.23) So it would be good to do when convenient.