I am using shared memory. And I got some questions...
1. When a parent process has already attach the shared memory and fork a child, would the child inherite the shared memory segment??
2. I am running a program that I wrote using fork and shared memory. It compills okay and when I run, I get this message " No space left on device shared memory".
I have done some research and found out I can see how many shared memory currently exist. I typed in "ipcs -m" command line to see how many shared mem exist and found out there are so many!! (more than 50!!) IS there anyway that I can just delete existing shared memory??
Thank you for any advise~! And happy Thanksgiving!