summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-03-05 06:26:38 +0100
committerByron Jones <bjones@mozilla.com>2014-03-05 06:26:38 +0100
commita85d121c1adf9280d76b115b2eaae0b1eae67c9b (patch)
treef9fe0308daf194648de3407601860551542a2ede
parent5d54de990280d2b3536b0737dc262329d243d543 (diff)
downloadbugzilla-a85d121c1adf9280d76b115b2eaae0b1eae67c9b.tar.gz
bugzilla-a85d121c1adf9280d76b115b2eaae0b1eae67c9b.tar.xz
Bug 979727: increase the mod_perl sizelimit to 700_000 on production
-rw-r--r--mod_perl.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index dd092d791..5840351f4 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -58,11 +58,11 @@ BEGIN { *CORE::GLOBAL::warn = \&Apache2::ServerRec::warn; }
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 1600MB of RAM all by itself,
-# not counting RAM it is sharing with the other httpd processes.
+# This means that every httpd child will die after processing a request if it
+# is taking up more than 700MB of RAM all by itself, not counting RAM it is
+# sharing with the other httpd processes.
if (Bugzilla->params->{'urlbase'} eq 'https://bugzilla.mozilla.org/') {
- Apache2::SizeLimit->set_max_unshared_size(600_000);
+ Apache2::SizeLimit->set_max_unshared_size(700_000);
} else {
Apache2::SizeLimit->set_max_unshared_size(250_000);
}