cancel
Showing results for 
Search instead for 
Did you mean: 

Define max number of transform instances when uploading images

nettania
Confirmed Champ
Confirmed Champ

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

image

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

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 answer in original post

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

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