- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapon error
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-12-2005 02:07 PM
05-12-2005 02:07 PM
Kernel tunable parameter "maxswapchunks" needs to be increased to add paging on device /dev/vg00/lvol6 (lvol 6 is 250 pysical extents)
I then opened SAM and changed the parameter but it gave me another error
semmnu must be <= (nproc - 4)
nproc = 4096
semmnu = 4096
maxswapchucks = 384
So I reduced semmnu to 4088 and raised maxswapchunks to 1024 and processed the new kernel and rebooted. But the parameters didn't change and I still couldn't perform the swapon
Any ideas why the tunable parameters didn't change. Any log files that I should check?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:11 PM
05-12-2005 02:11 PM
Re: swapon error
There may be missing files in the /stand directory.
There should be a log of the problem. Perhaps try processing it with sam, there will be a command and error log.
Make sure /stand isn't too full.
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-12-2005 07:28 PM
05-12-2005 07:28 PM
Re: swapon error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 01:55 AM
05-13-2005 01:55 AM
Re: swapon error
Also, /stand has 217MB available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 02:08 AM
05-13-2005 02:08 AM
Solution# grep -e nproc -e semmnu -e maxswap /stand/system
And see what the results are.
It appears to me from your log that only semmnu was changed. I did not see anything in the attached log about maxswapchunks.
Try changing it again. Also, if you are going to raise the value of maxswapchunks, go ahead and raise it to its maximum (16384). That way you NEVER have to worry about that particular kernel parameter again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 02:23 AM
05-13-2005 02:23 AM
Re: swapon error
here's the output from the grep
maxswapchunks 1024
nproc 4096
semmnu 4088
They are what they should be but SAM does not show them as such
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 04:44 AM
05-13-2005 04:44 AM
Re: swapon error
Did you change your params in 2 steps? I mean changing then before rebooting decide to do some more corrections?
Anyway my 2 cents would be having swap issues can be avoided by configuring maxswapchunks to a decent value (in your case 2048) which leaves you enough flexibility to add if needed more swap without having to reboot...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 08:28 AM
05-13-2005 08:28 AM
Re: swapon error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 04:16 PM
05-13-2005 04:16 PM
Re: swapon error
I have occasionally seen this kind of hang when using X11 SAM to change kernel parameters. The session you are using dies, but the server stays up. When I can I use a console session to make kernel changes, or use the cmd line. As you have suggested it's worth a reboot -- it looks like the parameters have been updated in the new kernel, but that one needs moving into place.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 01:11 AM
05-16-2005 01:11 AM