batch add but only 10 images in 10 seconds?? batch add but only 10 images in 10 seconds??
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

batch add but only 10 images in 10 seconds??

Started by tropicalview, January 01, 2008, 07:12:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tropicalview

Hi,

I moved my gallery to a new hosting prodider.
now it's running on a big server (they say 8 processers) and indeed the batch add go's very fast.

But i get the following problem: the batch add takes so many cpu that the hosting provider will disable my account for 1 minute due to to much cpu usage .

is it possible to place a time delay in the batch add, for example, add 10 images, wait 10 seconds add another 10 images?

THis will prevent that i get this problem and a problem with my hosting provider.


Kind regards,

Hendrik

twist

For me sounds like a bad provider.
They overselled their big server into hundreds of shared account, and now they use this scripts to avoid overselling? funny
But its only my personal opinion.

regards,
-Davide

Joachim Müller

To reduce the resource consumption of the batch-add process, add less pics in one go or use the MassImport plugin.