Issues with uploading with ImageImagick

For topics beyond KeyHelp. / Für Themen jenseits von KeyHelp.
Post Reply
User avatar
frajer
Posts: 29
Joined: Thu 23. Apr 2020, 22:00

Issues with uploading with ImageImagick

Post by frajer »

Hey!

I have a problem with avatar uploading. I am using xenForo and i am using ImageImagick PHP library to upload avatars. Basically, it supports .gif extensions, so members can upload animated avatars.

But there are two problems.

When i am or someone else is uploading .gif avatar (about 1mb) it takes extremely long time (about 3-4 minutes)
In uploading process, it runs often two commands: keyhelp-php74-f & clamscan.

Also its overloading CPU (usually have 0.3 - 2.0 % CPU load, and in uploading process i have 25%+.

I have strong server. 8 CPU cores, 16GB ram, 160GB SSD, and 10Gbit uplink.

Is there a way, how to decrease CPU load in avatar uploading process and decrease upload time?
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Issues with uploading with ImageImagick

Post by Martin »

Moved to Off Topic as this is not a KeyHelp Issue
Viele Grüße,
Martin
Post Reply