G2 "Build all thumbnails/resizes" always stops

iks
iks's picture

Joined: 2004-11-04
Posts: 8
Posted: Mon, 2005-05-23 17:42

Hello,

Whenever I run "Build all thumbnails/resizes" under Maintenance, generating stops at random point under 50%.
It also stopped when I was Importing images from my G1: all the images were transerred okay but generating thumbnails/resizes stopped at some point.
I don't get any error message it just sops.
My gallery has 6000+ images in some 20 albums,
as a primary graphics toolkit I use ImageMagick 6.2...

What can I do to generate thumbnails and resizes since I don't want apache/php/imagemagick to take ~100% of my server CPU when generating thumbnails and resizes for each visitor separately...

Thanks,
-Andrej

----

PHP:
max_execution_time 40000 40000
max_input_time 60000 60000

Gallery/Other:
Gallery version = 2.0-beta-3 core 0.9.17
PHP version = 5.0.3 apache2handler
Webserver = Apache/2.0.54 (Win32) PHP/5.0.4
Database = mysql 4.1.11-nt
Toolkits = Exif, Thumbnail, Ffmpeg, ImageMagick
Operating system = Windows NT EOWYN 5.0 build 2195
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-05-23 19:15

run the build with buffered or immediate debug output turned on in config.php and see if you find any errors from imagemagick..
also, not building derivatives in advance doesn't mean it will generate them separately for each visitor.. it means whoever happens to visit an image first will have a slightly slower response as it builds the thumbnail or resize.. after that the image is cached so any other visitors will get that w/o any build happening.