2

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?

1 Answer 1

1

They are stored in ~/.parallel/semaphores, but they should really clean themselves over time.

Are you running a very old version?

2
  • sem --version brings GNU parallel 20181223. Can I delete the directories in semaphores?
    – Bowi
    Commented Jan 21, 2020 at 11:26
  • 1
    You can. It is perfectly safe.
    – Ole Tange
    Commented Jan 21, 2020 at 11:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .