I run script.sh in a loop. The script contains a parallel wget command. I get the following error:
Signal SIGCHLD received, but no signal handler set.
The loop is as follows:
for i in {1..5}; do /script.sh; done
And the line causing the error looks like this (without parameters and settings):
cat file.txt | parallel -j15 wget
Study:
I am not an expert at GNU Parallel, but the script seems to work fine for most of the time, except when I get the error above. By raising SIGCHLD, I learned that a working parallel can create βzombie processes,β and sometimes we need to βreapβ these processes. In addition, I found that you can kill processes, because sometimes they can accept all available connections.
Trying to understand:
, . ? "" ? ? , script ?
:
SIGCHLD?
- , .