- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Semaphore issue
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-18-2010 10:58 PM
03-18-2010 10:58 PM
Semaphore issue
backups couldn't start due to semaphore issue,
as per the backup logs,backup process can't get allocate semaphore to start backup.
Logs attached below.
--------------------
ERROR: plGetSemArray: semget() failed allocating allocator Semaphore Array for <1268891981_21288_3071633104> allocatorCount=1 errno=28
Also I have verified on server,ther are 132 semaphore allcated for users process,those user's process are running and also it may interlinked with oracle.
I have cleared dead shared memory and message queue.
I have checked for semaphore kernal parameter,it is oracle recommended settings.
#ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 1073741824
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 100
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 1024
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536
-----------------------------------------
settings for semaphore in /etc/sysctl.conf file
kernel.sem = 250 32000 100 128
If anybody knows how to clear unused semaphore in linux with reboot,Please help me out in this.becuase still backups pendingfor the server,
///Is it possible to run sem_destroy on linux.
Is we able to increase sem values more than current settings
kernel.sem = 250 32000 100 128
Thanks,
Kanagu
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-18-2010 11:04 PM
03-18-2010 11:04 PM
Re: Semaphore issue
If anybody knows how to clear unused semaphore in linux without reboot,Please help me out in this.becuase still backups pending for the server,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2010 04:30 AM
03-20-2010 04:30 AM
Re: Semaphore issue
For HP-UX there is ipcrm(1) with -s or -S.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2010 06:56 AM
03-20-2010 06:56 AM
Re: Semaphore issue
ipcrm -s or -S -> we can use but I want to know how to assure dummy semaphore which not used by any thread/process.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2010 07:48 PM
03-20-2010 07:48 PM
Re: Semaphore issue
Does your Linux "ipcs -sa" display OTIME with a time and date? Or is as broken as HP-UX with a useless time only?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2010 08:14 AM
03-22-2010 08:14 AM
Re: Semaphore issue
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2010 08:30 AM
03-22-2010 08:30 AM
Re: Semaphore issue
kernel.sem = 500 64000 400 128
Also we have rebooted the server.Now it is working fine
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2010 08:32 AM
03-22-2010 08:32 AM
Re: Semaphore issue
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP