problem with batch upload and big file sizes problem with batch upload and big file sizes
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

problem with batch upload and big file sizes

Started by gizmen, July 11, 2005, 03:42:47 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

gizmen

Hi,

I am using Image magic to convert images. I have added about 6 photos to directory and i went to batch page to add thouse images. I have selected this dir and i wanted to add them to gallery but i failed. The problem is with batch upload coppermine starts 6 convert proceses and they use all my memory and swap and they are crashing. one convert process can use about 50M of memory so 6*50M=300M and i have 256 M ram and 256M of swap but i have quite a lot other processes.

My question is there any posibility to tune coppermine to not run so many processes ? Instead run one process and when it finish run another process for second image so it won't use so huge amount of memory in one time. This is quite bad conception for adding images.
In gallery 1.5 images are procesed one by one like FIFO queue.

Please could any one give some hint or solution how to avoid such bechavior.