
: Errors when creating thumbnails for large images in MediaWiki I'm getting the following error in the log when MediaWiki tries to make a thumbnail of a large image in MediaWiki. I've tried
I'm getting the following error in the log when MediaWiki tries to make a thumbnail of a large image in MediaWiki. I've tried increasing the limits of various things like upload size but that doesn't seem to work. What limit do I need to increase to get this to work?
/var/www/genwiki/bin/ulimit4.sh: line 4: 12338 File size limit exceeded'/usr/bin/convert' -quality 80 -background white -size 318 '/var/www/genwiki/images/b/b0/JamesGibsonSr_001.jpg' -thumbnail '318x599!' -depth 8 -sharpen '0x0.4' '/var/www/genwiki/images/thumb/b/b0/JamesGibsonSr_001.jpg/318px-JamesGibsonSr_001.jpg' 2>&1
More posts by @Annie201
1 Comments
Sorted by latest first Latest Oldest Best
Adding this to LocalSettings.php did the trick. It's probably better to not use unlimited, but pick sane defaults instead of "unlimited".
$wgMaxShellMemory = unlimited;
$wgMaxShellFileSize = unlimited;
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.