diff options
Diffstat (limited to 'mod_perl.pl')
-rw-r--r-- | mod_perl.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index 76d3d4920..29d9005c3 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -59,7 +59,11 @@ Bugzilla::CGI->compile(qw(:cgi :push)); # This means that every httpd child will die after processing a request if it # is taking up more than $apache_size_limit of RAM all by itself, not counting RAM it is # sharing with the other httpd processes. -Apache2::SizeLimit->set_max_unshared_size(Bugzilla->localconfig->{apache_size_limit}); +my $limit = Bugzilla->localconfig->{apache_size_limit}; +if ($limit < 400_000) { + $limit = 400_000; +} +Apache2::SizeLimit->set_max_unshared_size($limit); my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'}; |