Chrome Posted October 8, 2013 Share Posted October 8, 2013 Hi all I'm having a bit of an issue with a Prestashop that has been upgraded from 1.4.8.2 to 1.5.6 and I'm having issues with the thumbnails in FO. The problem arises when I try to regenerate the thumbnails: I get a timeout no matter what I try. Here are my configuration details max_execution_time = 30000 max_input_time = -1 memory_limit = 256M As the server is running FCGI I've also applied the following directives: FcgidIOTimeout 12000FcgidConnectTimeout 7200FcgidProcessLifeTime 8200 These settings don't allow the thumbnail generator to make it through the first category. The site in question has around 44,500 images (it's a labour of love for the owner) Is there any other way of generating these thumbnails? The current system doesn't seem to be too efficient on large sites Thanks in advance Dan Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 9, 2013 Share Posted October 9, 2013 Dan, Preferences > Images Use the legacy image filesystem - is this set to Yes? If not please set to yes and try again. That said, it is a lot of images. Link to comment Share on other sites More sharing options...
Dh42 Posted October 9, 2013 Share Posted October 9, 2013 How long does the image generator run in the browser until it times out? Link to comment Share on other sites More sharing options...
Chrome Posted October 9, 2013 Author Share Posted October 9, 2013 Hi guys Thanks for the response. Firstly, I was trying to avoid using the legacy filesystem; In future upgrades it could cause ongoing issues (similar to this one but a further layer apart) The browser time was cutting out at 8 minutes; Not enough to process all images I did, however, manage to figure this out. I added FcgidBusyTimeout 3600 to the vhost.conf and it turned out to be the magic directive. I processed the images separately (not using 'all') and the smallest amount of time taken for processing was 21 minutes. The large images took ~45 minutes. Yikes! I'm sure not all sites are as massive for images as this one but it does seem that a batch or on-demand thumbnail generator might be a consideration for those upgrading Anyway, all fixed and thanks for the suggestions, guys! Dan 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 9, 2013 Share Posted October 9, 2013 Thanks for posting the fix! Link to comment Share on other sites More sharing options...
Recommended Posts