in reply to Re: Daemon crashes the system
in thread Daemon crashes the system
I think all you need to do is add the following lines just below your last "use" statement:
Of course, you'll have to test this, but I think it might solve your issue.use Config; # copied from perldoc Config my %sig_num; my @sig_name; unless($Config{sig_name} && $Config{sig_num}) { die "No sigs?"; } else { my @names = split ' ', $Config{sig_name}; @sig_num{@names} = split ' ', $Config{sig_num}; foreach (@names) { $sig_name[$sig_num{$_}] ||= $_; } } # ignore child signals, automatically reaping child processes $SIG{$sig_num{CHLD}} = 'IGNORE';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Daemon crashes the system
by jjimmy (Initiate) on Nov 02, 2011 at 12:59 UTC | |
by RMGir (Prior) on Nov 02, 2011 at 13:06 UTC | |
by jjimmy (Initiate) on Nov 02, 2011 at 13:13 UTC | |
by RMGir (Prior) on Nov 02, 2011 at 13:19 UTC |