Page 1 of 1

uploadings large gifs makes my site crash

Posted: 2020-03-27T13:38:42-07:00
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 1784 times

Re: uploadings large gifs makes my site crash

Posted: 2020-03-27T13:51:09-07:00
by ascii
I just ran apt-cache policy imagemagick and got this
Installed: 8:
Candidate: 8:
Version table:
*** 8: 500
500 bionic-updates/main amd64 Packages
500 bionic-security/main amd64 Packages
100 /var/lib/dpkg/status
8: 500
500 bionic/main amd64 Packages