summaryrefslogtreecommitdiffstats
path: root/mod_perl.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mod_perl.pl')
-rw-r--r--mod_perl.pl10
1 files changed, 7 insertions, 3 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index f3dae34c1..88b5c7d7e 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -59,9 +59,13 @@ 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 45MB of RAM all by itself,
+# 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.
-Apache2::SizeLimit->set_max_unshared_size(45_000);
+if (Bugzilla->params->{'urlbase'} eq 'https://bugzilla.mozilla.org/') {
+ Apache2::SizeLimit->set_max_unshared_size(1_600_000);
+} else {
+ Apache2::SizeLimit->set_max_unshared_size(600_000);
+}
my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'};
@@ -80,7 +84,7 @@ PerlChildInitHandler "sub { Bugzilla::RNG::srand(); srand(); }"
PerlResponseHandler Bugzilla::ModPerl::ResponseHandler
PerlCleanupHandler Apache2::SizeLimit Bugzilla::ModPerl::CleanupHandler
PerlOptions +ParseHeaders
- Options +ExecCGI
+ Options +ExecCGI +FollowSymLinks
AllowOverride Limit FileInfo Indexes
DirectoryIndex index.cgi index.html
</Directory>