I have tried everything to resolve this and I cannot figure out why I am getting this error. I have a site with a gallery and it seems that some pages lock up for no apparent reason.
Here is the error message that I am thrown:
Error in function 'gallery_handle_request()' (gallery_base.inc:223):
Error (ERROR_LOCK_TIMEOUT) : /home2/kristeq2/public_html/sites/all/modules/gallery2/g2data/locks/139329
in modules/core/classes/FlockLockSystem.class at line 109 (GalleryCoreApi::error)
in modules/core/classes/GalleryLockSystem.class at line 147 (FlockLockSystem::_acquireLock)
in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 176 (GalleryLockSystem::acquireWriteLock)
in modules/core/classes/GalleryCoreApi.class at line 2291 (GalleryLockHelper_simple::acquireWriteLock)
in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 833 (GalleryCoreApi::acquireWriteLock)
in modules/core/classes/GalleryCoreApi.class at line 997 (GalleryDerivativeHelper_advanced::rebuildCache)
in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 50 (GalleryCoreApi::rebuildDerivativeCache)
in modules/core/classes/GalleryCoreApi.class at line 984 (GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in modules/downloadlink/module.inc at line 110 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in modules/core/classes/GalleryTheme.class at line 1541 (DownloadLinkModule::getItemLinks)
in themes/matrix/theme.inc at line 65 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 932 (MatrixTheme::showAlbumPage)
in modules/core/classes/GalleryView.class at line 301 (GalleryTheme::loadTemplate)
in main.php at line 465 (GalleryView::doLoadTemplate)
in main.php at line 104
in modules/core/classes/GalleryEmbed.class at line 189
in /home2/kristeq2/public_html/sites/all/modules/gallery/gallery_base.inc at line 205 (GalleryEmbed::handleRequest)
in /home2/kristeq2/public_html/sites/all/modules/gallery/gallery.module at line 452
in ??? at line 0
in /home2/kristeq2/public_html/includes/menu.inc at line 348
in /home2/kristeq2/public_html/index.php at line 18
-------------
This Gallery2 install is running inside of Drupal, however I am fairly confident that the issue is not with the Drupal module.
Here's all the info on my current install:
Gallery URL = http://kristenlynnphotographie.com/sites/all/modules/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 cgi-fcgi
Webserver = Apache
Database = mysqli 5.1.60-community-log, lock.system=flock
Toolkits = Exif, ImageMagick, NetPBM, Gd, SquareThumb, ArchiveUpload
Acceleration = none, none
Operating system = Linux box471.bluehost.com 2.6.32-46.1.BHsmp #1 SMP Tue Sep 6 12:18:02 MDT 2011 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Rows in GalleryAccessMap table = 5499
Rows in GalleryAccessSubscriberMap table = 18860
Rows in GalleryUser table = 6
Rows in GalleryItem table = 18860
Rows in GalleryAlbumItem table = 60
Rows in GalleryCacheMap table = 0
Thanks in advance for any help on this, I'm pulling out my hair trying to figure out what's going on!
Posts: 8339
Your issue seems to be w/ the DownloadLinkModule.
not sure why it would need to rebuildCache every call.
try clearing all your caches in gallery2/lib/support
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2