Define max number of transform instances when uploading images

cancel
Showing results for 
Search instead for 
Did you mean: 
nettania
Active Member II

Define max number of transform instances when uploading images

Jump to solution

If I upload images using the webinterface, multiple processes of the transform user are initiated to create the thumbnails. Is there a possbility to limit the max number of transform processes to ensure that the server ram is not exceeded if someone upload hundrest of images?

You can see the problem in the attached image. I have uploaded 800 photos in my test environment, and when I watched the images more than 10 convert processes are initiated by Alfresco share(?). Without limitation of the max number of simultanious transform porcesses, it can't scale.

Thanks,

Florian

Bildschirmfoto 2023-11-08 um 10.33.16.png

1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: Define max number of transform instances when uploading images

Jump to solution

You can use following properties to limit the simultaneous transforming processes for transform-core-aio:

    transform-core-aio:
        image: docker.io/alfresco/alfresco-transform-core-aio:4.0.0
        environment:
            JAVA_OPTS: >-
              -Dserver.tomcat.threads.max=12
              -Dserver.tomcat.threads.min=4
Hyland Developer Evangelist

View solution in original post

1 Reply
angelborroy
Alfresco Employee

Re: Define max number of transform instances when uploading images

Jump to solution

You can use following properties to limit the simultaneous transforming processes for transform-core-aio:

    transform-core-aio:
        image: docker.io/alfresco/alfresco-transform-core-aio:4.0.0
        environment:
            JAVA_OPTS: >-
              -Dserver.tomcat.threads.max=12
              -Dserver.tomcat.threads.min=4
Hyland Developer Evangelist