Special Considerations for Running with Shared Memory


Up: Details Next: Thorough Testing Previous: Examples

When using the ch_shmem or ch_lfshmem devices with System V shared memory, processes that exit abnormally (e.g., with a segmentation violation) may leave System V semaphores or shared memory segments allocated*. Since there is usually a limited number of these objects, it is important to recover them. The Unix command ipcs can be used to list the allocated semaphores and shared memory segments, and ipcrm can be used to delete them. The script bin/cleanipcs can be used to identify and delete all System V IPCs owned by the calling user; the use is simply

    bin/cleanipcs 



Up: Details Next: Thorough Testing Previous: Examples