- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ipcrm fails!
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
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
тАО12-05-2001 02:04 AM
тАО12-05-2001 02:04 AM
today I saw 2 dead shared memory segments with ipcs -m. These two segements were nearly 700 Megs big, --> ipcs -ma . the machine has only 2 Gigs memory. OK what I also saw was an key that looked like as follow 0x000000. now when i did an ipcrm -m
has anybody ever had the same problem yet? how do you fixed it, without reboot?
Thanx in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 02:17 AM
тАО12-05-2001 02:17 AM
Re: ipcrm fails!
Does the mode of the ID you want to remove contain a D?
ie. D-rw-rw-rw-
If the shared memory segment is already detached, you need not bother about it. It is analogous to a "
If it is not detached, perhaps you would like to show us the ipcs output and the command you type along with the error (screen dump).
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 02:34 AM
тАО12-05-2001 02:34 AM
Re: ipcrm fails!
thanx for the answer, yes it had a D
and I couldn't restart the database because of the shared memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 06:13 AM
тАО12-05-2001 06:13 AM
SolutionYou cannot remove a shared memory segment that is already detached (released).
Did you also check your semaphores ie. ipcs -b -s?
If these are runaway semaphores, they must similarly be removed via ipcrm.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 06:19 AM
тАО12-05-2001 06:19 AM
Re: ipcrm fails!
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 05:48 PM
тАО12-05-2001 05:48 PM
Re: ipcrm fails!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf15e0b0717d1d5118ff40090279cd0f9,00.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2001 06:58 PM
тАО12-05-2001 06:58 PM
Re: ipcrm fails!
Look for the KEY and NATTCH column :
If both are 0, then use ipcs to remove the segment.
the following 1Liner will report the ID, KEY & NATTACH :
ipcs -mop|grep -F 0x000000 | awk '{print $2":"$3":"$7}'
2- to delete an ID with the above condition do: ipcrm -m ID