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