Hello,

an application using shared memory segments froze...
usually I was able remove the segments using ipcrm -m {shmid} command,
This time it did ZERO the "key" but the segments were stubborn and did not want to get removed from the table :

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 2883584 root 666 176 874 dest
0x00000000 2916353 root 666 342616 874 dest

I had to restart the system to clear the shared memory and be able to start the application ( database )

I am using 2.4.21.51EL SMP RedHat factory kernel ( unmodified )

Does anybody would know, how to release/remove the segments using an other technique than ipcrm ? or even what could cause the memory to get locked so bad that the kernel was unable to release it?
I might be asking for too much, but any of your ideas might be helpful to me to continue troubleshooting this issue.

Thanks Everybody!

paziu