Shared memory is used by the driver shim to safely and securely communicate with the scripts on Linux and UNIX. If the system shared memory segments become unusable, you must shut down the process and fix the shared memory segments.
Shared memory segments can become unusable on some UNIX systems if the driver shim is improperly terminated without detaching from the segments. For information about how to properly stop the driver shim, see Section 6.2, Starting and Stopping the Driver Shim. You can use the ipcs system tool to locate these segments and the ipcrm tool to manually clear them as shown in the following example:
> ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x2a065bbd 1802241 root 600 16384 1 > ipcrm -m 1802241
The driver shim generates default segments of 16384 bytes with permissions at 600.