aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-01 18:36:32 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-02-01 18:36:32 +0100
commit12a8e179c2db652c9e3cfa67e79677219ff7ed30 (patch)
tree26a7d9b9e928a443dd456e19519f3e5cfbf5e9b7 /mod_perl.pl
parentMerge branch 'upstream' (diff)
downloadbugzilla-12a8e179c2db652c9e3cfa67e79677219ff7ed30.tar.gz
bugzilla-12a8e179c2db652c9e3cfa67e79677219ff7ed30.tar.bz2
bugzilla-12a8e179c2db652c9e3cfa67e79677219ff7ed30.zip
Temporary increase the max_ushared size because the memory calculation *without* /proc/self/smaps is broken, that leads into false results and thus it kills the apache childs too early
Diffstat (limited to 'mod_perl.pl')
-rwxr-xr-xmod_perl.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index 393c1519f..0336feff6 100755
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -62,7 +62,8 @@ use Apache2::Log ();
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);
+#Apache2::SizeLimit->set_max_unshared_size(70_000);
+Apache2::SizeLimit->set_max_unshared_size(500_000);
my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'};