Click to See Complete Forum and Search --> : How to delete a attached shared memory.


Mavens
October 16th, 2006, 07:33 AM
i want to delete a shared memory which is in use, i mean it is still attached and some processes are using them. I am using to delete "ipcrm -shm shmid". But it is not able to delete the shared memory.

In my code i am not deattaching shared memory after its use. coz i need it to be attached to maintain a counter.

Can anybody give some input on this.

waugh
October 31st, 2006, 05:52 AM
Hi,
check the previleges.Might be the user who was deleting the shared memory didn't have write permission..