barndoor has asked for the wisdom of the Perl Monks concerning the following question:
$SIG{CHLD} = "IGNORE";
I got three of these messages, 1 for each glob() in the script and with various chunk numbers. The globs themselves were still returning the right result but the messages were causing havoc as they went to the console even though this was running in background and with STDOUT and STDERR redirected to a logfile.glob failed (child exited with status -1, core dumped) at ./FeedsMonit +or.pl line 293 <_GEN_0> chunk 1.
However sooner or later one of my child processes is going to finish just a glob runs and will zombie itself.$SIG{CHLD}="DEFAULT"; @x = glob($globLine); $SIG(CHLD)="IGNORE";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ingoring Child Processes And glob()
by merlyn (Sage) on Jul 28, 2000 at 16:43 UTC | |
by barndoor (Pilgrim) on Jul 28, 2000 at 17:19 UTC | |
|
Re: Ignoring Child Processes And glob()
by barndoor (Pilgrim) on Jul 28, 2000 at 15:37 UTC | |
|
Re: Ingoring Child Processes And glob()
by tye (Sage) on Jul 28, 2000 at 18:24 UTC | |
|
RE: Ingoring Child Processes And glob()
by barndoor (Pilgrim) on Jul 28, 2000 at 13:59 UTC | |
|
Re: Ingoring Child Processes And glob()
by c-era (Curate) on Jul 28, 2000 at 15:19 UTC |