summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-07-25 07:56:46 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-07-25 07:56:46 +0200
commit31ee5f8285215545e9de4c5cc0ea169832b5390e (patch)
treedb0cba3a9798e2ded457a5ad36a4259cc0df2a5c
parentcad5654594f4ff6865795809376d19e15272cd5b (diff)
downloadsmokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.gz
smokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.xz
autoreap zombies
-rw-r--r--CHANGES2
-rwxr-xr-xhtdocs/smokeping.cgi.dist3
-rwxr-xr-xqooxdoo/source/tr.cgi3
3 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 42083ee..ce967e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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