Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21006

Thumbnail service runs convert multiple times for the same image node


    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.e Community
    • Fix Version/s: None
    • Component/s: Transformations
    • Security Level: external (External user)
    • Labels:
    • Environment:
      OS: Windows Server 2012 64bit
      Intel XEON 4 CORE CPU, 6GB RAM
      Tomcat 7
      Java 1.7.0_45
    • Security Severity:
    • Triage:
      To Do


      We noticed that when requesting a single thumbnail, alfresco creates two images in the tmp folder (source and target) and the response is quite fast. So far so good.
      If we request multiple thumbnails for different image nodes (eg the results page from a search), then alfresco runs the convert process multiple times for each node. It creates multiple source files in the tmp folder for the same image. The more the results without thumbnail, the more the convert processes per node (hundreds or even thousands some times if the requests are too many). The problems gets bigger is more users make requests for thumbnails and the server sometimes is not responding at all.
      As a side effect, we have seen sql deadlocks in the logs (maybe the threads are trying to update the same node's thumbnail simultaneously).



          There are no comments yet on this issue.


            • Assignee:
              ragauss Ray Gauss
              davoutian Jean-Paul Davoutian
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: