- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Too many semaphores!
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
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
тАО04-17-2000 12:25 AM
тАО04-17-2000 12:25 AM
Too many semaphores!
Since then, and when I start CiscoWorks daemons, the semaphore table (semmni)
begins to grow until it reaches almost the upper limit (in my case 4096). I
thought it was a bug from the operating system, so I installed PHKL_20901, a
fix that exists for semget().
If I run ipcs -s, all the semaphores uncorrectly allocated have the form:
s133779480 0x00000000 --ra-ra-ra- bin bin
(bin is the user for CiscoWorks processes).
Should I blame Cisco, HP or myself?
Any suggestion would really be appreciated.
Regards,
Jesus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2000 01:23 AM
тАО04-17-2000 01:23 AM
Re: Too many semaphores!
for additional semaphores. If the programs needs as many as it is allocating,
there's really no way around it.
Looking at the uid/gid on the semaphore (bin/bin in this case) doesn't
necessarily indicate the semaphore was created by the CiscoWorks program, only
that the program that created the semaphore had that uid and gid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2000 04:34 PM
тАО04-17-2000 04:34 PM
Re: Too many semaphores!
The problem is that we have already increased the number of semaphores up to
4096. It doesn't matter how many semaphores we have, CiscoWorks2000 processes
(maybe JRE...) lock almost every semaphore available (4092 is usually the upper
limit).
We have isolated the problem to Cisco processes simply because when the daemons
are stopped, the semaphore table does not grow much more than 100 semaphores,
and when we start the daemons, the number of semaphores begin to grow rapidly.
I will try to patch JRE. Nobody with this same problem?
Regards,
Jesus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2000 06:08 AM
тАО06-16-2000 06:08 AM
Re: Too many semaphores!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2000 06:10 AM
тАО06-16-2000 06:10 AM
Re: Too many semaphores!
there's a bug with Cisco-Works that if it's data is
corrupted it gets into a loop and sucks up all the semaphores...
So no matter how much you increased semmni/semmns
ciscoworks would have taken all the semaphores in its corrupted state.
Bottom Line: CicsoWorks can become corrupt and take up all available
semaphores in a loop, thereby causing other applications such as ITO to
fail with "semget(2) failed - no space left on device"
Check with cisco support .. probably a patch by now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2000 06:30 AM
тАО06-16-2000 06:30 AM
Re: Too many semaphores!
You can release the semaphores by killing the ones genereated by the cisco works process with this command:
ipcrm -s SID (semaphore ID)
For example: ipcrm -s 133779480
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 06:03 AM
тАО07-17-2000 06:03 AM
Re: Too many semaphores!
Are you still having the same problem?
Chris