- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Semaphore limit exceeded
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-26-2003 03:34 AM
09-26-2003 03:34 AM
Semaphore limit exceeded
We've had a problem with our server running HP-UX 10.20 and MFG/PRO. A few hours ago the server crashed and rebooted itself. When it came back up the databases wouldn't start, stating "semaphore limit exceeded" Nothing has changed on the box, so presumably something is hanging up and holding the semaphores open, as it worked fine before.
Any ideas on how I can check why we don't have enough semaphores to start the databases, and how to free them up?
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 03:36 AM
09-26-2003 03:36 AM
Re: Semaphore limit exceeded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 03:51 AM
09-26-2003 03:51 AM
Re: Semaphore limit exceeded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 04:26 AM
09-26-2003 04:26 AM
Re: Semaphore limit exceeded
According to our kernel parameters, we should have 300 semaphores to play with.
Trying to start another database at this point gives us the semaphore limit exceeded error.
Could a process in the startup scripts be hanging and holding up the semaphores?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 04:28 AM
09-26-2003 04:28 AM
Re: Semaphore limit exceeded
semaem
Semaphore value-change limit
semmap
Size of free-semaphore resource map
semmni
Maximum semaphores system-wide
semmns
Maximum user-accessible semaphores system-wide
semmnu
Maximum undos per semaphore
semume
Maximum semaphore undos per process
semvmx
Maximum allowed semaphore value
The suggested semaphore values to be changed are SEMMNI and SEMMNS to greater values for Oracle database.
Also find the appropriate DATABASE 'S Installation and Configuration MANUAL/Documnet for the specific version of OS and cross check for their suggested semaphore values and patches required to be installed.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 04:31 AM
09-26-2003 04:31 AM
Re: Semaphore limit exceeded
shmmax, shmseg in the kernel will let you increase those values.
I'm not great with 10.20 and can only recommend sam for the kernel change.
sam
kernel
configurable parameters.
when done.
Actions process new kernel.
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-26-2003 04:40 AM
09-26-2003 04:40 AM
Re: Semaphore limit exceeded
You mentioned you on 10.20 so you can't use kmtune, sysdef may work to see current value.
My guess is the reason it crashed was semaphore limit, but you should be able to start it.. then check ipcs -s, and see if you have many semaphores owned by the application. I guess the ones you see now are just owned by root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2003 05:13 AM
09-26-2003 05:13 AM
Re: Semaphore limit exceeded
I tried to regenerate the kernel with the new parameters, but the console threw up a memory fault error, and locked up!
I restarted the server from a client, and when it came back up, everything is working fine with the old semaphore paramters!
Slightly worrying - I'll see if I can track down what caused it, but at least we are back up and running (and the server is getting decommissioned in 4 weeks anyway...)
Thanks again