- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Semaphore issue
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
тАО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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 08:14 AM
тАО03-22-2010 08:14 AM
Re: Semaphore issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 08:32 AM
тАО03-22-2010 08:32 AM