diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-07-25 07:56:46 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-07-25 07:56:46 +0200 |
commit | 31ee5f8285215545e9de4c5cc0ea169832b5390e (patch) | |
tree | db0cba3a9798e2ded457a5ad36a4259cc0df2a5c | |
parent | cad5654594f4ff6865795809376d19e15272cd5b (diff) | |
download | smokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.gz smokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.xz |
autoreap zombies
-rw-r--r-- | CHANGES | 2 | ||||
-rwxr-xr-x | htdocs/smokeping.cgi.dist | 3 | ||||
-rwxr-xr-x | qooxdoo/source/tr.cgi | 3 |
3 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,5 @@ +* set sig child to IGNORE for automatic reaping of zombies -- tobi + 2008/7/24 -- released version 2.4.2 * added strict to both wrappers and fixed some followup errors -- tobi diff --git a/htdocs/smokeping.cgi.dist b/htdocs/smokeping.cgi.dist index f6d9f34..4f2b38b 100755 --- a/htdocs/smokeping.cgi.dist +++ b/htdocs/smokeping.cgi.dist @@ -7,6 +7,9 @@ use warnings; use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl); use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib); +# don't bother with zombies +$SIG{CHLD} = 'IGNORE'; + use CGI::Carp qw(fatalsToBrowser); use Smokeping 2.004002; diff --git a/qooxdoo/source/tr.cgi b/qooxdoo/source/tr.cgi index be02730..cc0fe28 100755 --- a/qooxdoo/source/tr.cgi +++ b/qooxdoo/source/tr.cgi @@ -8,6 +8,9 @@ use CGI::Util qw(expires); use CGI::Session; use Qooxdoo::JSONRPC; +# don't bother with zombies +$SIG{CHLD} = 'IGNORE'; + #$Qooxdoo::JSONRPC::debug=1; # Change this space-separated list of directories to include |