|Posted: Tue, 2012-06-12 21:57|
Hi, everyone. Long time reader, first time asker...
I have a question regarding the scaling of Gallery. I've seen that there are websites out there that have upwards of 1 million images in their galleries. While we're not quite there yet, we seem to be having some issues with roughly 80k. What's happening is that thumbnails are intermittently not being generated properly. The specific error Gallery is throwing at us is ERROR_LOCK_TIMEOUT on the regeneration of derivatives. Because of the way Gallery works (or at least the way I believe it to work), it does fix itself over time (after refreshing a page x number of times, all thumbnails for that page will generally show properly). This issue only started presenting itself recently as our image count got higher.
Right now, our 80k images are sitting in a single album. Is this reasonable or unreasonable? Will breaking it up into sub-albums help at all? I've tried showing fewer images per page (from 18 to 12) but that didn't solve the problem.
Here's some info about our server architecture (which may also be causing the hiccups):
And here's the general Gallery info
Gallery version = 2.3.1 core 220.127.116.11
Any and all advice is appresh'd!