- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shmmax limit?
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
04-24-2007 03:32 AM
04-24-2007 03:32 AM
I'm having a problem with shmmax - it was set to 4294967296, I needed to adjust some kernel params for the oracle team and SAM informed me that shmmax had been lowered to it's limit of 1073741824 and now I can't set it higher than this, it keeps complaining that this is the highest possible value, which clearly it isn't because it says here http://docs.hp.com/en/B2355-60105/shmmax.5.html that it can be massive. So what is stopping it being big enough? Is there another kernel parameter that limits shmmax?
Many thanks for your help.
Steve.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 03:51 AM
04-24-2007 03:51 AM
Re: Shmmax limit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 05:36 AM
04-24-2007 05:36 AM
Re: Shmmax limit?
You're referencing the 11iv2 (11.23) man page -- but that doesn't mean you're running that release. Release (and kernel bits) are important here... since you could be on 11.11 in a 32-bit kernel (where the shmmax *is* limited to 1Gb).
If you're on 11.11 and "getconf SC_KERNEL_BITS" returns 64, I agree that this may be a SAM bug and would recommend (as a workaround) using "kmtune shmmax=4294967296" directly. shmmax is dynamic on 11.11, so you don't need a kernel rebuild or anything for this to take effect. If 11.11 and a 32-bit kernel, SAM is right -- and I'd suspect that your system file was attempting to set the tunable value to the higher value by hand [but it would have been ignored anyway].
If you're on 11.23 or higher, use "kctune shmmax=424967296" and you definitely have a SAM issue.... though I can't find any reference to any such issue at this time [otherwise I'd try to point you at a patch].
Please reply with details, and what kmtune/kctune reports depending. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2007 10:25 PM
04-26-2007 10:25 PM
Re: Shmmax limit?
This system is an 11.11 64 bit HP-UX environment. So as you rightly pointed out referencing the 11iv2 man page is not really that helpful.
The strange thing is that the value at some point was set to 4294967296 but for some reason SAM insists it's not allowed to be that high.
I decided to take your advice and set it using kmtune (btw, you missed the -s option) but it's still showing the new value as planned and not current.
kmtune | grep shmm
shmmax 1073741824 Y 4294967296
shmmni 512 - 512
shoudln't it take effect immeadiately or have I missed something really obvious?
Many thanks again, Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2007 12:43 AM
04-27-2007 12:43 AM
SolutionSorry that I've apparently forgotten the kmtune flags and didn't specify this up front.
Ah-ha! And some more digging may have found our culprit.. its an old issue, but there _was_ a case where the /usr/conf/master.d/sysv-shm file had the wrong range statement for shmmax on 64-bit 11.11... resulting in SAM [but not kmtune which gets the limits elsewhere] limiting shmmax to the 32-bit value (as you've got).
Do you perchance have PHKL_30196 (latest) or PHKL_24032 (original patch... PHKL_30196 really just adds support for the ShmemExtensions optional product, so you don't really need it unless you want to install ShmemExtensions for a higher shmmni value)? If not... that's almost certainly your problem... please install it the next chance you get. Until then, using kmtune directly is the workaround.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2007 01:29 AM
04-27-2007 01:29 AM
Re: Shmmax limit?
I'll forgive you for not remembering all the flags for kmtune.....this time ;-) kmtune -u -s has done the trick.
Thanks for the info on the patch, we will look at installing at the next available opportunity.
All the best - Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2007 07:40 AM
04-27-2007 07:40 AM