uploadings large gifs makes my site crash

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Locked
ascii
Posts: 2
Joined: 2020-03-27T13:30:49-07:00
Authentication code: 1152

uploadings large gifs makes my site crash

Post by ascii »

Hey guys,

I tried almost everything but nothing really helped so I thought maybe I should ask here instead. I have a forum running XenForo and enabled the IMagick-extension so that my users can upload animated avatars. Most of the time it works without any problems. But as soon as someone uploads a large animated picture, my site crashes. I don't see an error in the XenForo error log, but I can reproduce a server crash by uploading large avatars. Things I tried

increasing php memory_limit to 512M
increasing max_execution_time to 60
increasing upload_max_filesize to 15M

I gotta admit, the picture that caused the last crash is pretty big (3MB)

Can someone please help me?
my php.ini
my php.ini
Bildschirmfoto 2020-03-27 um 21.41.59.png (306.54 KiB) Viewed 1253 times

ascii
Posts: 2
Joined: 2020-03-27T13:30:49-07:00
Authentication code: 1152

Re: uploadings large gifs makes my site crash

Post by ascii »

I just ran apt-cache policy imagemagick and got this
imagemagick:
Installed: 8:6.9.7.4+dfsg-16ubuntu6.8
Candidate: 8:6.9.7.4+dfsg-16ubuntu6.8
Version table:
*** 8:6.9.7.4+dfsg-16ubuntu6.8 500
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
100 /var/lib/dpkg/status
8:6.9.7.4+dfsg-16ubuntu6 500
500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Locked