- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing Kernel parameters shmmni and semmns?
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
09-01-2008 04:00 AM
09-01-2008 04:00 AM
According to SAP note 172747 the kernel parameter shmmni should be >=512, our is set to 400. And the parameter semmns should be >=16384, our is set to 2520.
It is now time for me to add more memory to this server, and i was wondering if i should change these parameters? I am upgrading from 48GB to 96GB RAM.
Br
Patrik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 04:17 AM
09-01-2008 04:17 AM
Re: Changing Kernel parameters shmmni and semmns?
Yes i know i have to reboot.
I was more concerned about the values, what should it be set to? Is it going to cause any problem if i change these?
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 04:38 AM
09-01-2008 04:38 AM
Re: Changing Kernel parameters shmmni and semmns?
I was thinking you should just follow SAP's advice.
You can read the manpages for details in kernel memory usage:
http://docs.hp.com/en/B2355-60130/shmmni.5.html
http://docs.hp.com/en/B2355-60130/semmns.5.html
You can also use kcusage(1m) to see the current usage values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 04:49 AM
09-01-2008 04:49 AM
Re: Changing Kernel parameters shmmni and semmns?
Since you are adding all that memory, you are expecting a lot of growth on your server. You have to be proactive and increase these and other parameters depending on the type of growth you are expecting. Parameter usage for these two and others is shown in glance, and "ipcs -a" and "sar -mv" commnads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 05:00 AM
09-01-2008 05:00 AM
Re: Changing Kernel parameters shmmni and semmns?
I will do some research before growth of this system. So we´r not facing a bottleneck.
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 05:10 AM
09-01-2008 05:10 AM
Re: Changing Kernel parameters shmmni and semmns?
In older versions we also need to increase maxswapchunks when we add memory but here you dont need as you are using 11.23.
Take kernel and system file backup and go ahead!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 05:21 AM
09-01-2008 05:21 AM
Re: Changing Kernel parameters shmmni and semmns?
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 06:27 AM
09-01-2008 06:27 AM
Re: Changing Kernel parameters shmmni and semmns?
#ls -l /stand/vmunix
Take a backup using:
#cp -p /stand/vmunix /stand/vmunix.bak
# ls -ltr /stand/vmunix*
also backup system file using same method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 07:46 AM
09-01-2008 07:46 AM
Re: Changing Kernel parameters shmmni and semmns?
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 09:39 PM
09-01-2008 09:39 PM
Re: Changing Kernel parameters shmmni and semmns?
I did copy vmunix and system. Changed parameters and shutdown system. Added memory and booted up again. All went well. Thank you for your support!
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 09:57 PM
09-01-2008 09:57 PM
Re: Changing Kernel parameters shmmni and semmns?
Please take backup of /stand.
You can take copy of /stand/backup in another location this is privious kernal before reboot machine.
In case of your system is not booting then you can boot from ./stand/backup/vmunix.
If this will not work then you can use your backup path e.g ./BackupPath/backup/vmunix.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2008 10:48 PM
09-01-2008 10:48 PM
Re: Changing Kernel parameters shmmni and semmns?
Prior to any kernel changes an Ignite make_tape_backup or make_net_backup to back up your previous boot image is a very good idea.
Glad your issue is resolved.
I tend to want to remove rules from the kernel configuration that are not mandatory. They were not developed by HP in a real world scenario and tend to make work for systems administrators that they don't need.
Thanks for using ITRC forums the best peer to peer help in the business.
:=)
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
09-02-2008 05:35 AM
09-02-2008 05:35 AM
Re: Changing Kernel parameters shmmni and semmns?
adding detail to SEP's advice here. Please use following command to create ignite bootable tape on your hp-ux
#make_tape_recovery -I -v -x inc_entire=vg00
this will enable to rebuild your hp-ux in case something goes wrong with box in avoidable circumstances.
Cheers!!
deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2008 10:46 PM
09-02-2008 10:46 PM
Re: Changing Kernel parameters shmmni and semmns?
I have Ignite (make_net_recovery) running every Sunday on all my machines in the cluster. With the option entire vg00.
Br
Patrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2008 10:46 PM
09-02-2008 10:46 PM