Open tfmorris opened 2 years ago
If one of the subprocesses errors (e.g. gets killed by the OOM killer), the parent process will hang forever because there's no timeout on the pool.join() here: https://github.com/CSB5/lofreq/blob/007a8ba2adc71797990e2fe0f8a869d7b0ea258e/src/scripts/lofreq2_call_pparallel.py#L662
pool.join()
I suggest adding a timeout, even a very large one, to the join.
If one of the subprocesses errors (e.g. gets killed by the OOM killer), the parent process will hang forever because there's no timeout on the
pool.join()
here: https://github.com/CSB5/lofreq/blob/007a8ba2adc71797990e2fe0f8a869d7b0ea258e/src/scripts/lofreq2_call_pparallel.py#L662I suggest adding a timeout, even a very large one, to the join.