I've run some commands using sem -j <number> <command>
. Then I cancelled the whole script.
Now, even after rebooting the machine, I cannot use sem
any more, even sem -j 2 "echo HELLO"
waits eternally.
How can I clean up the semaphores?
They are stored in ~/.parallel/semaphores
, but they should really clean themselves over time.
Are you running a very old version?
sem --version
brings GNU parallel 20181223
. Can I delete the directories in semaphores
?