Status Completion Percentage Incorrect on Add from server

dia19

Joined: 2005-02-22
Posts: 15
Posted: Tue, 2009-11-17 22:50

Moving over several images from my Gallery 2 by doing the Add from server function and not the G2->G3 tool.

This last batch was 981 images which has taken several hours; does it usually take this long?

The picture below was taken at several times during the process when I noticed it show the percentage hitting 100% and then passing it. Also from the picture you can see each image is taking about 10-11sec to process. Image sizes are approximately 2-3MB.

Also, the status bar on the actual album page never increases... it looks like its stuck on a certain number of photos.

http://www.aggiewhoop.com/gallery3/phpinfo.php using ImageMagick toolkit

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-11-18 00:07
Quote:
This last batch was 981 images which has taken several hours; does it usually take this long?

It all depends on the resources on the server available at the time.
I would choose IM as a toolkit and not GD if you have not already done so.
There is a lot going on the background so 10 seconds sounds reasonable to me.

Also you don't mention if you have upgraded to an experimental version. Lots of changes since B3.
FAQ: How do I upgrade?

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dia19

Joined: 2005-02-22
Posts: 15
Posted: Wed, 2009-11-18 14:37

Using the latest version. gallery-gallery3-ade642c

Did some more batch transfer yesterday. Working on a 1550 photo transfer now, seems to work better in Chrome.. not sure why. But same thing is going on with the percentages, it starts at 10% and finishes at 110%.

Here's something else I noticed last night, I have my albums setup for 25 photos per page instead of the default 9. At the bottom of the main album page it has the following "Photos 1-25 of 7". Thats the case with all albums that have less than 25.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Wed, 2009-11-18 16:10

10-11 seconds is definitely on the long side. Can you look at your CPU usage on the server side and see where the CPU is going? Also in Admin > Dashboard you can see the overall machine load to get an idea of how overloaded your server is.

The percentages thing is definitely a bug, but I'm not sure how to reproduce it. If you can file a ticket (see url below) with any info you have that'd be useful.

I filed a ticket for the pagination bug: http://sourceforge.net/apps/trac/gallery/ticket/903
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
dia19

Joined: 2005-02-22
Posts: 15
Posted: Wed, 2009-11-18 17:14

I'm currently still on the 1550 photo transfer, it has stalled a few times on me. The server load can be monitored here:
http://www.aggiewhoop.com/test.php

Right now its: Server Load Averages 13.78, 8.58, 7.3 and continues to rise with the transfer. So I have a feeling the 10-11sec time resides with my hosting company and not a problem with gallery. I might need to increase the max_execution_time and max_input_time php variable from 30 to 600. You think that might help?

Right now Im on picture 701 of 1539 with it reporting 55% complete, when it actually is 45%. I'll open a ticket for this.