stevieb9 / ipc-shareable

Share Perl variables across processes and scripts
GNU General Public License v2.0
3 stars 2 forks source link

Shared memory and semaphores leftovers #18

Closed eserte closed 2 years ago

eserte commented 2 years ago

After running the IPC-Shareable-1.08 tests it is likely that there are some left-over shared memory segments and semaphores. Here an example (output was clean before running the tests):

$ ipcs

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 2072576000 cpansand   666        65536      0                       

------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0x00000000 1792606208 cpansand   666        3         

Seen on various Debian, Ubuntu and CentOS systems.

stevieb9 commented 2 years ago

I've fixed this in the most recent version. Thanks!