- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap space
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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
11-12-2001 10:36 PM
11-12-2001 10:36 PM
Swap space
One of my hpux box a180c model having 10.20 HPux OS, is showing 90% swap space usage.
The buffer space allocation is static, will making it dynamic help in reducing the swap space usage?Any other suggestions?
The glance report is attached with this message.
Any help will be appreciated.
Thanxs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 12:11 AM
11-13-2001 12:11 AM
Re: Swap space
Looks like lot of swapping occurs in your system, was there any changes made to the system or DB recently or in the environment atleast. get the outputs of #sar -d 5 5 to have a look on the disk queue length. Which has to be either equivalent or less then 0.50 otherwise there is potential IO choke also..
Check out the kernel parameter dbc_max_pct and verify that the value is between "8" and "12".(there is an exception to this if you have any large storage disk array like EMC). the value of dbc_min_pct can be kept "5".
It can be also due to heavy usage of system which in turn causes the system run short of Memory and start using the swap space.
Check out the output of sar -w 5 5 and verify the amount of swapping which occurs in the system. #swapinfo -t also gives a clear picture of how much of swapping is happening in the system..
Come back with more details:
Cheers !!!
Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 02:18 AM
11-13-2001 02:18 AM
Re: Swap space
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 05:04 AM
11-13-2001 05:04 AM
Re: Swap space
The memory utilization ("Mem Util") is 97%, which is too high. Try to get it at around 95%. Getting it below 95% is not neccessary and is even 'bad' (see some of my responses in other, 'old', threads).
Swap space usage ("Swap Util") is rather high (92%), so you risk that processes will abort when they need to grow and that you can not start (m)any new processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 05:12 AM
11-13-2001 05:12 AM
Re: Swap space
Buf Cache: 256.0mb
Free Mem: 13.6mb >
Firstly, as shown in your glance output your current buffer cache setting is way too high. Get into dynamic cache setting and also reduce the dbc max and min to 10 and 5% respectively. That will ease up the pressure on memory. Next is your swap setting,
what is your current swap configuration? Can you post the output of swapinfo -mt?
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 05:27 AM
11-13-2001 05:27 AM
Re: Swap space
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 05:38 AM
11-13-2001 05:38 AM
Re: Swap space
You probably should reduce the 'dbc_max_pct' downward. If you are running something like Oracle which manages its own file buffers, you are wasting resources and actually double-buffering.
You can add more device swap without having to reboot (assuming that you have a sufficient value for 'maxswapchunks' already defined for your kernel. If you don't, you will need to regenerate your kernel to change it, but since you're going to change the 'dbc_max_pct' anyway...
In addition to the kernel tuning, you can use SAM to add more swap space. Ideally, construct a secondary device swap that is the same size as your primary, but on a different disk, and set its priority to the same as the primary's. In this way, you will achieve interleaving and improve performance.
A good way to monitor swap utilization is simply to use:
# swapinfo -tam
Regards!
...JRF...