it uses sysv message queues, which are a limited resource. if you get an exception talking about no such file or out of space or somesuch (I don't have one handy), you can clear them out with: ipcrm msg `ipcs -q | awk '{print $2}'` To list the ones in use: ipcs -q -bob