- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap problems
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
04-10-2001 04:52 PM
04-10-2001 04:52 PM
I realise this is WAY TOO HIGH.
The weird thing is that the swap space is only being half utilised.
At any given point there would be only 55% of swap space used. This is device swap, not filesystem.
Anyone got any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 12:08 AM
04-11-2001 12:08 AM
SolutionIf you have device swap actually USED then this means you have processes paged/swapped out to disc, which explains fully why vmstat shows such a high reclaim rate - pages are constantly being swapped in and out. Ideally you want to keep device swap USED to 0%. We do. This means you have sufficient ram for the applications you are running. We dont let any of our servers here ever get to device swap USED >0%.
For example;
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
This means everything is in memory, great. vmstat shows no page reclaims at all.
As against;
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 27 485 5% 0 - 1 /dev/vg00/lvol2
On this server (not one of ours!) we have 27MB of processes swapped/paged out to disc, which means were really 27MB of RAM short! As a result vmstat shows page reclaims going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 01:19 AM
04-11-2001 01:19 AM
Re: swap problems
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 24256 1024320 2% 0 - 1 /dev/vg00/lvol2
dev 1024000 24188 999812 2% 0 - 1 /dev/vg00/lvol10
reserve - 330692 -330692
memory 2384868 1313136 1071732 55%
weird thing is that device swap is only about 2% - which from what you're saying is too high anyway.
Weird is all I can say.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 10:00 AM
04-13-2006 10:00 AM
Re: swap problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 11:31 AM
04-13-2006 11:31 AM
Re: swap problems
Note that swap space is utilizied in several ways. The first is reservation, which involves no I/O, just bookeeping. Swap reservation is often confused with swap usage. The second is space for memory mapped files. And the third is real page outs. vmstat and swapinfo are too crude to give a good picture of RAM usage. You really need GlancePlus to get an accurate (and meaningful) picture of RAM.
Standard incantation: check dbc_max_pct in the kernel. If it is 50, that's where a massive portion of your memory has gone. The DBC is supposed to move down towards dbc_min_pct when processes are threatened with deactivation, but depending on patches and OS version, it isn't too reliable. Because it is a percentage of RAM, the amount changes with RAM changes, it is a pain to manage. Instead, change bufpages to a value between 204800 and 409600 which is 4k pages. Now the dynmaic buffer cache will be fixed at a reasonable value of 800 to 1600 megs regardless of RAM size.
Bill Hassell, sysadmin