Creating Thumbnails

Creating thumbnails consumes hole cpu

After opening a new created share with several JPGs the node starts to create the thumbnails and consums the hole cpu capacity given on node3.

The other Raspi-Nodes (node1 and node2) in my home-cluster are almost idle.

Is there a posiblity to spread the thumbnail generating process to the other nodes too?

install informations

Nextcloud version (20.0.1)
Operating system and version (Ubuntu 20.04 for Raspi)
k3s (v1.18.9+k3s1)
nginx version (nginx/1.19.3)
PHP version (PHP 7.4.12)

The issue you are facing:

cpu load high

Kubernetes YAML excerpt:

    spec:
      affinity:
        nodeAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
...
      containers:
      - name: nextcloud
        image: nextcloud
        resources:
          limits:
            cpu: "3"
            memory: "3000Mi"

Node3_-_Raspi_4-4GB_beim_Thumbnails_berechnen

You can use the app Preview Generator .
Sorry. Not tested. Search the forum.

Fortsetzung der Diskussion von Creating Thumbnails:

Thanks for the hint.

This solves the problem in some parts, but does not help to spread the workload over several nodes in the cluster, that are mostly idle…

Node2 is idle while node3 is working very hard…