Topic on Project:Support desk

Got huge amount of /ResourceLoaderImageT7tIBq like file in /tmp folder, which filled up entire disk

5
Summary by Ciencia Al Poder

Some version of PHP7's GD will crash with SVG rasterized under high load, use imagemagick instead.

Deletedaccount4567435 (talkcontribs)

Got huge amount of /ResourceLoaderImageT7tIBq like file in /tmp folder, which filled up entire disk. Tried to delete them in /tmp folder but filled up again very quick. Looks like a bug or config error. What is it and how to fix it?

Using MW 1.28.0 with php7

Ciencia Al Poder (talkcontribs)

Apparently this comes from ResourceLoaderImage. SVG images embedded in CSS with ResourceLoader get rasterized in a temp filename to get properties and such, and then the temp file is deleted, but apparently they aren't deleted on your installation... Maybe the SvgHandler is crashing badly leaving those leftovers there...

TheDJ (talkcontribs)

> Maybe the SvgHandler is crashing badly leaving those leftovers there...

If so, please confirm to us, maybe we can make that problem less confusing.

Deletedaccount4567435 (talkcontribs)

Any useful way to track svgHandler? Currently all page load normally and I can't find any related error logged in php error log....

Deletedaccount4567435 (talkcontribs)

Still can't find why, so installed imagemagick instead of using php's GD. Now MW work normally.

I will try to find out the reason.

Using: MW 1.28.0

PHP: 7.0.15-1~dotdeb+8.1 (fpm-fcgi)