I am using RHEL4. This is regarding ipcrm concept. I issue ipcrm shm id command, and it says resource(s) deleted. But if I check again using ipcs, it is still there, even if the status is already showing dest (destroyed). Can you tell me what might be wrong?

Requires Free Membership to View

I've seen this behavior on many types of systems (including Unix), so it probably is not specific to RHEL4. Have you tried recycling whatever application was using the shared memory? Have you also tried making certain that whatever uses originally kicked off the process, are no longer logged in? If it still doesn't go away, your only solution may be a reboot.

Is this behavior causing you any real problems, or is it just annoying? Perhaps your application or database has some kind of built-in utility to help you. For example, with Oracle, you can use the sysresv command to get rid of shared memory segments also. Finally, I'm probably telling you something you already know, but please be very careful when using ipcrm, as you can crash your system if you get rid of something you're not supposed to.

This was first published in May 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: