]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 633061: Require Apache2::SizeLimit 0.96 for proper operation on Linux
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 24 Jan 2012 17:07:45 +0000 (18:07 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 24 Jan 2012 17:07:45 +0000 (18:07 +0100)
r=dkl a=mkanat

Bugzilla/Install/Requirements.pm
mod_perl.pl

index 995529d7915146af1d4ba49eb67ddc2d8bbd84c1..73e22520a2b1fc5a5868a1ea3ca6793fe82e2b6e 100644 (file)
@@ -355,9 +355,8 @@ sub OPTIONAL_MODULES {
     {
         package => 'Apache-SizeLimit',
         module  => 'Apache2::SizeLimit',
-        # 0.93 fixes problems on Linux and Windows, and changes the
-        # syntax used by SizeLimit.
-        version => '0.93',
+        # 0.96 properly determines process size on Linux.
+        version => '0.96',
         feature => ['mod_perl'],
     },
     );
index 31741ace0a56844e3b5979f5a23fcd4749ff1f8c..ac6956b1b9021bf4fd5df95f343c2824d2106e1d 100644 (file)
@@ -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'};