I am running a command in parallel using Gnu Parallel, which has two parameters as input, a directory and a conf file:
parallel --gnu my_command ::: (ls -d dir*test) ::: properties.conf
I run it on top of a multi core cpu (24 cores) and "my_command" is executed on every single core for a total of 24 executions. Every single instance of the command generates successfully an output. The problem is that sometimes after their executions, one "my_command" turns to "sleeping" mode and in this way gnu-parallel never exits. Is there a way to force gnu-parallel to exit automatically or waking up automatically these sleeping processes?