April 16th, 2020
When the thumbnail script runs out of memory this error is sometimes displayed.
While making some articles on a MediaWiki instance that featured SVG files, I ran into the following error:
Error creating thumbnail: libgomp: Thread creation failed: Resource temporarily unavailable
This text was in place of the thumbnail that usually generates when using the File: syntax.
As it turns out, this can occur when the thumbnail creation script runs out of memory. A simple fix is to add the following line to LocalSettings.php
$wgMaxShellMemory = 819600;