Tim Starling has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/50149


Change subject: Increase $wgMaxImageArea to 75 Mpx
......................................................................

Increase $wgMaxImageArea to 75 Mpx

This will use about 300 MB on ImageMagick Q8. The memory limit is 400MB
per process, now accurately enforced with cgroups, so 300MB is
comfortably underneath this limit.

Note that MaxClients is set to 18 on the image scalers, and they have
12 GB memory, implying an allocation of 680MB per process. So a limit
of 400MB leaves plenty of headroom. So either MaxClients or
$wgMaxShellMemory should be increased to give a better peak utilisation.
They have 24 cores, so neither memory nor CPU will be fully utilised at
peak with the current settings.

Change-Id: Iab0405fae3b0c98cd9cda5d732ce7fcf0b6890f7
---
M wmf-config/CommonSettings.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/49/50149/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 314a32d..77fc0e0 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -452,8 +452,8 @@
 $wgTiffUseTiffinfo = true;
 $wgTiffMaxMetaSize = 1048576;
 
-$wgMaxImageArea = 2.5e7; // 25MP
-$wgMaxAnimatedGifArea = 2.5e7; // 25MP
+$wgMaxImageArea = 150e6;
+$wgMaxAnimatedGifArea = 150e6;
 
 if ( $wgDBname == 'foundationwiki' ) { # per cary on 2010-05-11
        $wgFileExtensions[] = 'otf';

-- 
To view, visit https://gerrit.wikimedia.org/r/50149
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab0405fae3b0c98cd9cda5d732ce7fcf0b6890f7
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Tim Starling <tstarl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to