- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- semaphores alarm
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
Discussions
Discussions
Forums
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
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
тАО08-08-2001 07:20 AM
тАО08-08-2001 07:20 AM
I have BMC Patrol installed on one of my HP-UX boxes and it raise an alarm that number of SemaphoreOperations are getting to low. I run ?sar ?m? and this is a part of the output:
silver:/ # sar -m 1 2000
HP-UX silver B.11.00 C 9000/889 08/08/01
11:06:00 msg/s sema/s
11:06:01 0.00 532.67
11:06:02 0.00 529.29
11:06:03 0.00 516.00
11:06:04 0.00 44.00
11:06:05 0.00 0.00
11:06:06 0.00 72.73
11:06:07 0.00 198.02
11:06:08 0.00 0.00
11:06:09 0.00 125.25
11:06:10 0.00 524.00
11:06:11 0.00 510.89
Is it really a problem? And if it is, where can I find some more information on it?
Thanks,
Troy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 07:38 AM
тАО08-08-2001 07:38 AM
SolutionWhen you setup Patrol, do they give some tips about system resources ? As Share Memory, Semaphores, ...
First, check the following kernel parameters :
- semmap
- semmni
- semmns
- semvmx
Compare semmns with sar -m and see if semmns is too short. Then increase this parameter. You'll maybe have to increase also semmap, semmni.
Refer to the kernel parameter documentation for that.
In any case, that won't be a problem for your HP9000, simply kernel tables will be full, and software programms may coredump.
PJA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 07:41 AM
тАО08-08-2001 07:41 AM
Re: semaphores alarm
You can try in Glance...
the system table report gives information about the number of semaphores being used and the total available,
If the total available is less you can increase the kernel value of
semmns ( total no of semaphores )
semmni ( total semaphore indentifiers, that is maximum sempahores that can be used at any point
of time)
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 08:38 AM
тАО08-08-2001 08:38 AM
Re: semaphores alarm
These are my parameters:
semmap 66
semmni 64
semmns 200
semvmx 32767
Is sema/s = 0 mean that all semaphores are in use???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 08:41 AM
тАО08-08-2001 08:41 AM
Re: semaphores alarm
I will install Glance to see what I can find!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 09:11 AM
тАО08-08-2001 09:11 AM
Re: semaphores alarm
Here are two threads....the first is docs on parms -check out min/max of semms; and the second will give you how to calculate the semm* values.
1.)http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html
2.)http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x10ca6af52b04d5118fef0090279cd0f9,00.html
Now here's one last tip. It may not be applicable in your apps, you'll have to determine. Some folks forget that some apps also use alot of message queues msg* so if your apps use this then you need to address how you set these parms as well.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2001 09:56 AM
тАО08-08-2001 09:56 AM
Re: semaphores alarm
Troyan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2001 05:37 AM
тАО08-09-2001 05:37 AM
Re: semaphores alarm
So, if sema/s=0, that means that no semop() system call happen, not that semaphore table (semmns) is full.
I could suggest to put semmns=600
and semmni=300, and try with those values.
(semmap is semmni + 2 and would be automatically changed if you kept the default value for calculation)
PJA.