- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: semaphore increase
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
10-15-2003 02:57 AM
10-15-2003 02:57 AM
I have never messed with changing semaphore values on my systems. So I need to know best/recommended way to increase them.
Here are my current settings on an N4000-55.
I believe the kernel parm to change is semmns, currently 4000, but I am not for sure. My DBA is asking me to increase it by double to 8000.
just double checking with you experts. My memory is 32GB... so it should be no problem.
# kmtune |grep sem
sema 1 - 1
semaem 16384 - 16384
semmap 1026 - (SEMMNI+2)
semmni 1024 - 1024
semmns 4000 - 4000
semmnu 1024 - 1024
semmsl 2048 Y 2048
semmsl_override - - 2048
semume 64 - 64
semvmx 32767 - 32767
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:01 AM
10-15-2003 03:01 AM
Re: semaphore increase
For comparison, here's the values on my N4000-44 running 11.0/Informix:
kmtune |grep -i sem
sema 1
semaem 16384
semmap (SEMMNI+2)
semmni 4096
semmns 4096
semmnu 1024
semmsl_override 2048
semume 1024
semvmx 32767
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:03 AM
10-15-2003 03:03 AM
Re: semaphore increase
--
/usr/sbin/kmtune |grep -i sem
sema 1 - 1
semaem 16384 - 16384
semmap 16002 - (SEMMNI+2)
semmni 16000 - 16000
semmns 32000 - (SEMMNI*2)
semmnu 2996 - (NPROC-4)
semmsl 2048 Y 2048
semume 64 - 64
semvmx 32768 - 32768
--
The easiest way is via SAM, but there are more wizardly ways.
Whatever, it will need a reboot.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:06 AM
10-15-2003 03:06 AM
Solutionyou can increase to 8000 it wouldn't cause any problem.
for one of our websphere appliaction we have following semaphores values set:
kmtune|grep -i sem
sema 1 - 1
semaem 16384 - 16384
semmap 1026 - (SEMMNI+2)
semmni 1024 - 1024
semmns 16384 - 16384
semmnu 2048 - 2048
semmsl 2048 Y 2048
semume 256 - 256
semvmx 32767 - 32767
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:07 AM
10-15-2003 03:07 AM
Re: semaphore increase
You might want to collect some performance data.
I'd be hesitant about making a change without error messages or something from oracle metalink saying you should.
I'm attaching a data collection script that might point out you hitting limits.
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
10-15-2003 03:08 AM
10-15-2003 03:08 AM
Re: semaphore increase
Your comparisons are great but don't answer my question. I need your advice based on my DBAs request for doubling my # of semaphores.
1) Is semmns the correct parameter for that?
2) Are there any dependent parms that also need to be modified?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:09 AM
10-15-2003 03:09 AM
Re: semaphore increase
Thanks for your responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:12 AM
10-15-2003 03:12 AM
Re: semaphore increase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:13 AM
10-15-2003 03:13 AM
Re: semaphore increase
To answer your question - Yes, semmns is the number of Sys V IPC system-wide semaphores.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2003 03:14 AM
10-15-2003 03:14 AM
Re: semaphore increase
semmni is the system-wide max
semmns is the user accessible system-wide max
semmnu is the max undo per semaphore
semume is the max undos per process
semvme is the max allowed semaphore value
You can check SAM's "help on configurable paramters" for further details.
Pete
Pete