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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 1 Guest 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.