- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap space questions
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
10-16-2003 06:25 AM
10-16-2003 06:25 AM
Swap space questions
1. is there a command that will see what is in swap? I ran out of swap yesterday, and I would like to see what was using it.
2. What configurable kernel parameters need to be added/changed to be able to add a second swap area? I tried to add swap throuh sam, and it told me I need to change/add to the kernel parameters, rebuild the kernel and reboot. Since I didn't have a reboot window, I canceled out of it. -mk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 06:29 AM
10-16-2003 06:29 AM
Re: Swap space questions
2. You probably need to increase max_swap_chunks (I think that is the name). In 11i there is a max swap of 16gb.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 06:34 AM
10-16-2003 06:34 AM
Re: Swap space questions
maxswapchunks and swchunk
Use sam -> Kernel Configuration -> Configurable Parameters to change these and rebuild the kernel. Use Help -> Configurable Kernel Parameters to find out what they do.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 06:35 AM
10-16-2003 06:35 AM
Re: Swap space questions
2) You need to make sure that the maxswapchunks kernel parameter is large enough to handle the amount of swap you want to add. I set mine at the maximum (16384) when I install HP-UX just in case I ever need to add swap.
If you are paging out, I would seriously look at adding more RAM to your system. Paging out to swap is a serious performance degradation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 06:38 AM
10-16-2003 06:38 AM
Re: Swap space questions
As Brian points out, no you can't determine what's using swap. Just how much is used.
And besides maxswapchunks, the other kernel parm that can be adjusted to increase maximum available swap space is swchunk which defines the chunk size (in 1KB blocks) of swap.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 06:42 AM
10-16-2003 06:42 AM
Re: Swap space questions
Maxswapchunks is your boy BUT is it also possible that you don't need any more swap eventhough you ran out. You may simply need to set swapmem_on=1 to enable pseudoswap. If your machine has more memory than swap and pseudoswap is not enanled then the process memory limit is the swap size BUT if pseudoswap is enabled then the limit becomes 1.75 X memory + swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:32 AM
10-16-2003 07:32 AM