Batch Upload: too many threads or config issue??? Batch Upload: too many threads or config issue???
 

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 Upload: too many threads or config issue???

Started by cmigliorini, August 23, 2007, 09:40:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cmigliorini

When batch uploading, I get the following behavior (see attached screen shot):
- only three (3) thumbnails show in the "search_new.php" screen; these are not necessarily the first three.
- if I continue to the "insert" phase, only three images are generally imported; again, not necessarily the first three.
- if I repeat the process, I will finally get all images inserted, three at a time.

To the best of my knowledge, this is not documented anywhere, but then there are so many docs... So forgive me if I missed the one.

My guess is that it has to do with the max number of simultaneous SQL connections allowed by my provider (OVH.COM), which happens to be 3!

I did not find a configuration option that would tell Coppermine how to handle that. is there one?

Hein Traag

You could try to use CPGMassimport from the CPG Contrib site. http://cpg-contrib.org/index.php
It just keeps on going untill all pictures have been added to your cpg.

cmigliorini

Sounds good, I'll give it a shot.
Now, would there not be a (simple?) fix if each thread would, should the connection fail, retry after a random delay?  It does makes sense to my (limited, semi-educated) brain.

cmigliorini

Guess what? CPG batch upload works fine with Safari and Camino on my Mac.
So it seems to be browser-dependent (I was using IE 6).

Does anybody now how I could make IE6 work?

Nibbler

It's related to the number of connections the browser is set to open to the server. I doubt you can configure that in IE.

cmigliorini

Nibbler, thank you. I'll use my Mac then :), and perhaps try CPGMassimport.

Out of curiosity, I still wonder whether Coppermine's connection scheme could be changed so that it works in any case (see above comment).

Other than that, I'm happy with what I got so far and would not mind seeing this topic Solved.