- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing swap size
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
05-08-2005 10:30 AM
05-08-2005 10:30 AM
Increasing swap size
# swapinfo - tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 35 8157 0% 0 - 1 /dev/vg00/lvol2
dev 8388 36 8352 0% 0 - 1 /dev/vg02/lv_swap1
I know that my kernel parameter maxswapchunks is set too low and is preventing me to increse the swap size.
# kmtune -q maxswapchunks
Parameter Current Dyn Planned Module Version
===============================================================================
maxswapchunks 8291 - 8291
I know of two options and maybe someone can come up with more
1. Add a third swap device of 8 gig increase the value of maxswapchunks to ??? rebuild the kernel and reboot ( preferred way but I dont have a third device )
2. Increase the size of the lvol /dev/vg02/lv_swap1 by 8 gigs ( I have the space ) change the value of maxswapchunks to ??? and reboot.
This is Online JFS - Mission Crtical OE
Suggestions ?? advise ??
thanks
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2005 02:02 PM
05-08-2005 02:02 PM
Re: Increasing swap size
Of course, the first question is why increase swap space when your system isn't using any? Paging (sending programs and data to disk due to a lack of RAM) is always very bad for performance. There are a few database systems that require massive amounts of memory (for unknown reasons) during installation, but never need or use that space ever again.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2005 02:39 PM
05-08-2005 02:39 PM
Re: Increasing swap size
You ar overstaressing this sytem and more swap space isn't going to help, even if you find a way to do it.
Swap works a little different than other logical volumes. I've never added swap to a system without undergoing a reboot, even with onlineJFS installed.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2005 05:39 PM
05-08-2005 05:39 PM
Re: Increasing swap size
Anyways thanks to both of you
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 12:30 AM
05-09-2005 12:30 AM
Re: Increasing swap size
However, extending an lvol used for swap will not make more swap available. There is no way to notify the kernel that an existing swap area just got larger (it's nothing like a filesystem).
Bill Hassell, sysadmin