Jump to content

Upgraded 1.5.6 image issue


Recommended Posts

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 12000
FcgidConnectTimeout 7200
FcgidProcessLifeTime 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

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

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...