Mobile app version of vmapp.org
Login or Join
Annie201

: 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

@Annie201

Posted 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 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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Annie201

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

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;

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme