1752451 Members
6754 Online
108788 Solutions
New Discussion юеВ

Re: Shared Memory Error

 
SOLVED
Go to solution
vinodan
Advisor

Shared Memory Error

Dear All ...
When i am trying to release
shared segment used by a user using
ipcrm -m "shmid" i am getting an error process not existing.The segment is owned by me.can anybody explain why it is so ?

Thanks in advance
Vinod
2 REPLIES 2
Joseph T. Wyckoff
Honored Contributor
Solution

Re: Shared Memory Error

Vinod;

You posted in the wrong forum, and I will try and move your query to somewhere useful.

In general it would be helpful if you identified the basics, like what operating system you are using.

Thanks.
Omniback and NT problems? double check name resolution, DNS/HOSTS...
A. Clay Stephenson
Acclaimed Contributor

Re: Shared Memory Error

It would help if you posted exactly the error message that was displayed and the output of ipcs -m. I suspect that you are trying to delete a shmid that has already been removed but there are still processes that are attached to the shared memory segment. If a 'D' appears in the MODE column of this shmid for the ipcs -m command then that is your problem. The segment will not been removed until all processes which are attached to this segment either detach the segment or terminate. Man shmctl for details and note the section dealing with IPC_RMID.
If it ain't broke, I can fix that.