You fork.
In reply to Re^3: Semaphores leaks with IPC::Shareable by zentara in thread Semaphores leaks with IPC::Shareable by losgrandes