Announcement

#1 2023-12-19 11:55:40

basilio
Member
2023-12-18
13

PiwigoNG crashes server with massive uploads

Hello/Hi/Greetings,

PiwigoNG tends to seize all the available resources when uploading files to server (Apache-hosted in my case). Until the devs mitigate such an unpleasant behavour there is a temporary hack. Using external imagick helps the server to balance the load. And if that relief is not enough, you can restrict available for your server threads site wise with MAGICK_THREAD_LIMIT environment variable.

I doubt if there is a viable solution for those using GD module, not image magick.

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

Any, Apache-hosted

Piwigo URL: Any

Last edited by basilio (2023-12-19 12:03:02)

Offline

 

#2 2024-01-03 20:48:37

Case
Member
2022-10-26
5

Re: PiwigoNG crashes server with massive uploads

Piwigo NG is borderline unusable for me for uploading large(ish) batches of photos from mobile, because it just overwhelms my server rather easily by seemingly attempting to upload everything at once (and then throwing out errors when the server can't handle it). And since there's not even a way to retry the upload or see which files have already uploaded and which have not, it means trying to upload the same files over and over in smaller batches and hoping that this time, the server will be able to handle the onslaught.

It would probably be best to limit processing the upload queue to just a certain amount of files at once or something.

Offline

 

#3 2024-01-09 20:06:35

basilio
Member
2023-12-18
13

Re: PiwigoNG crashes server with massive uploads

Such situation renders Android app unusable for many, unfortunately. Especially on hosted servers. As the only way of not DDOS-ing the server by uploading is to upload images one by one, which is a kind of weird.

Last edited by basilio (2024-01-09 20:07:55)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact