- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Semaphore limit exceeded (1131)
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-12-2002 01:55 AM
09-12-2002 01:55 AM
Semaphore limit exceeded (1131)
Is there a way I can check the usage of semaphores AND is it just matter of increasing the semmns kernel parameter?
This has just started happening but the live databse has grown very large recently, is this the reason?
Any help would be great(especially if it can be helped without a reboot as system downtime is very dificult to get)
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 01:58 AM
09-12-2002 01:58 AM
Re: Semaphore limit exceeded (1131)
Youre going to have to reboot after youve inreased the semmns kernel parameter, unless you can close something down thats using some semaphores now to free some up. Use;
ipcs -sa
To show currently used semaphores and how many they are using. There is a script available to show which pids are using them also.
The best way ive found to keep an eye on semaphore usage is using glance/gpm - the system tables report shows % usage of semaphores so you can see when its nearing full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 12:00 AM
09-13-2002 12:00 AM
Re: Semaphore limit exceeded (1131)
There are some applications that use many resources from machine. It is not normal this way, so that??s life.
When you get the message " semaphore limit exceeded ", all you can do is modify kernel parameters to permit more samaphores, then reboot your machine and investigate the running application to find out if the semaphore needs are normal.
If you are absolute sure about the semaphore " dead " that belong to your application, you can delete it ussing command:
" ipcs -sa " ( get semaphore condittions )
" ipcrm -s < semaphore number > " ( delete semaphore )
So it is a bit dangerous.
Hope this help you.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:51 AM
09-13-2002 01:51 AM
Re: Semaphore limit exceeded (1131)
Do you get more details along with this message... i.e. what specific syscall failed with what errno?
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 02:41 AM
09-13-2002 02:41 AM
Re: Semaphore limit exceeded (1131)
I cannot ll / The session hangs. I can ls and ls -a but not ll, also I cannot cd into /net (which I am pretty sure is empty). I think /net is corrupted.
Can I fsck without first unmounting?
Could this be linked to my bother semaphore problem? Or am I grasping at straws.
All your replies are gratefully revieved.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:01 AM
09-13-2002 04:01 AM
Re: Semaphore limit exceeded (1131)
# cat /etc/auto_master
/net -hosts -nosuid,soft
So the symptom looks like a hanging automountd or automounter process.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:12 AM
09-13-2002 04:12 AM
Re: Semaphore limit exceeded (1131)
/net -hosts -soft.
How will I sort out the hanging automountd or automounter process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:34 AM
09-13-2002 04:34 AM
Re: Semaphore limit exceeded (1131)
Can't find /usr/sbin/nfs.server or
/usr/sbin/nfs.client
Could they be somewhere else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:36 AM
09-13-2002 04:36 AM
Re: Semaphore limit exceeded (1131)
2) set AUTO_MOUNT=0 in etc/rc.config.d/nfsconf
3) /sbin/init.d/nfs.client start
If one of the scripts hangs or automound/automounter cannot be terminated then a reboot could be the last resort to clean the situation.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:48 AM
09-13-2002 04:48 AM
Re: Semaphore limit exceeded (1131)
I have tried that and it is still the same. I will try the reboot, but unfortunatly will have to wait for downtime.
Will i have to reset the AUTOMOUNT parameter or shall I just leave it?
Also do you think this could anything to do with my semaphore problem as they seem to arrived at the same time, when I had to change the IP address on the server.
Thanks for all the help anyway, I'm learning lots today.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 04:54 AM
09-13-2002 04:54 AM
Re: Semaphore limit exceeded (1131)
since the semaphores are used for process synchronisation, increasing their values wouldn't solve the problem i think.
try increasing shmmax values