summaryrefslogtreecommitdiffstats
path: root/mod_perl.pl
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2012-01-24 18:07:45 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-01-24 18:07:45 +0100
commitff21bfca71a7a0c5e038fb29b8953fac81c2ba2c (patch)
treeb3b6428bc552e613b822263734555cbe9f32f7bb /mod_perl.pl
parent0284798a8cc4987c84805634a7a84d5d853a2168 (diff)
downloadbugzilla-ff21bfca71a7a0c5e038fb29b8953fac81c2ba2c.tar.gz
bugzilla-ff21bfca71a7a0c5e038fb29b8953fac81c2ba2c.tar.xz
Bug 633061: Require Apache2::SizeLimit 0.96 for proper operation on Linux
r=dkl a=mkanat
Diffstat (limited to 'mod_perl.pl')
-rw-r--r--mod_perl.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index 31741ace0..ac6956b1b 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -51,8 +51,9 @@ Bugzilla::CGI->compile(qw(:cgi :push));
use Apache2::SizeLimit;
# This means that every httpd child will die after processing
-# a CGI if it is taking up more than 70MB of RAM all by itself.
-Apache2::SizeLimit->set_max_unshared_size(70_000);
+# a CGI if it is taking up more than 45MB of RAM all by itself,
+# not counting RAM it is sharing with the other httpd processes.
+Apache2::SizeLimit->set_max_unshared_size(45_000);
my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'};