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

Thumbnail service runs convert multiple times for the same image node

    Details

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

      Description

      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).

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: