- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- maxswapchunks
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
07-20-2000 09:57 PM
07-20-2000 09:57 PM
maxswapchunks
I have 512mb of swap space on my server, but the server was running slow. I was advised to increase the kernel parameter 'maxswapchunks' from 385 to 1000. Although afterwards the machines performance got worse and started to report the error "Insufficient Memory or swap space, or stack size exceeded massiz". We are going to purchase more memory for the server, but in the short term I'm going to increase the swap space to 1Gb, but what should I make the 'maxswapchunks' value?
Plus if I increased it to 2Gb what should the value be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 11:05 PM
07-20-2000 11:05 PM
Re: maxswapchunks
If your getting stack size errors, you probably want to look at the parameter maxssiz.
Also, worth looking at mazdsiz too.
Changing the maxssiz,mazdsiz won't have any performance effects (it just raises/decreaes limits).
To be honest I'm surprised adding more swap space had an effect.
Can you post the output from 'swapinfo -tm' ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 11:28 PM
07-20-2000 11:28 PM
Re: maxswapchunks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 12:53 AM
07-21-2000 12:53 AM
Re: maxswapchunks
Use this values for you kernel to resolve the is at hand:
allocate_fs_swapmap=0
dbc_max_pct=25
dbc_min_pct=5
bufpages=0
nbuf=0
maxdsiz=1gb
maxtsiz=1gb
shmmax=1gb
swapmem_on=1
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 07:02 AM
07-21-2000 07:02 AM
Re: maxswapchunks
Defaults are maxswapchunk=256
swchunk=2048 (2 MB)
DEV_BSIZE=1
In this case, if swchunk is still set at 2048, setting maxswapchunk to 512 would be 1GB and maxswapchunk=1024 would be 2GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2000 03:16 AM
07-22-2000 03:16 AM
Re: maxswapchunks
MAXSWAPCHUNKS defines the upper limit of swap you can have. Multiplying MAXSWAPCHUNKS with the size of a swapchunk (SWCHUNK) results in the maximum amount of swap possible.
This means that, even when you have configured your system with more swapspace, the system won't use more than MAXSWAPCHUNKS*SWCHUNK.
So, to be able to use more swap, you have to
1) increase MAXSWAPCHUNKS
2) create additional swap devices or increase existing swap devices.
Bye,
Rik.