- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- deletion semaphore from semaphore table
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
01-08-2003 06:46 AM
01-08-2003 06:46 AM
deletion semaphore from semaphore table
Is it a way to not allow the deletion semaphore from semaphore table which process is using/running ?
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:34 AM
01-08-2003 07:34 AM
Re: deletion semaphore from semaphore table
However, you may try to wrap the ipcrm(1) command with some more restrictive shell script. Not bullet-proof, of course... but root should be careful anyway.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:51 AM
01-08-2003 08:51 AM
Re: deletion semaphore from semaphore table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 09:06 AM
01-08-2003 09:06 AM
Re: deletion semaphore from semaphore table
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 08:18 AM
01-09-2003 08:18 AM
Re: deletion semaphore from semaphore table
When this happened we had around some 300 semaphores in semaphore table.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 09:44 AM
01-09-2003 09:44 AM
Re: deletion semaphore from semaphore table
If the problem happens not only occasionally then you could try to catch the culprit using auditing (see audit(5)). There you have the chance to track processes that use semctl() for removal.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:22 PM
01-09-2003 01:22 PM
Re: deletion semaphore from semaphore table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:31 PM
01-09-2003 05:31 PM
Re: deletion semaphore from semaphore table
ipcs -acps to see all the shared memory with the creator name. Then grep for the process to see if its active, if its not active use
ipcrm -s
this will delete the shared memory for the corresponding shared memory ID.
Have a look at the man pages of ipcs and ipcrm for more details.
Cheers
Rajeev