Massive Resource Utilization
Hi! Was advised to post this link here: https://github.com/immich-app/immich/issues/2134
Essentially, I am experiencing MASSIVE resource utilization during image import to the tune of 4,000% to 6,000% CPU load. While I have followed the directions in the linked issue and modified my docker compose to mount geocoding to the host (and this has helped with stability), resource utilization is super super high, and the culprit continues to be the microservices container. I have also disable machine learning.
Is this kind of resource utilization normal?
GitHub
[BUG] Resources Utilization Spike · Issue #2134 · immich-app/immich
The bug I’ve deployed Immich and am trying to backup photos from iOS but after like 15 images, the resources on the server (an older 4 core x86 Mac mini) get DESTROYED by the micro services contain...

13 Replies
This might be something to do with the old CPU on that mac mini
During upload the CPU usage spike becasue of all the thumbnail generation and transcoding
but spike to that level is pretty insane
right?!
How is the CPU compare to pi4?
faster
It maybe helping to limit the CPU usage on microservices container
Baeldung
Setting Memory And CPU Limits In Docker | Baeldung
A quick and practical guide to setting memory/CPU limits in Docker.
Although now that I'm looking at it; looks like the mini is a dual core i5, like 2.5ghz
4 gigs of mem
top indicates ffmpeg is what's consuming cpu
Those are video transcoding
it should only happeen during upload
so if you are fine with letting the machine does its job, normal usage will be fine
correct, that's when I am seeing it
Immich normal usage use very little CPU
maybe I'll throw a CPU limit on the container
okay
that would help to keep other processes/applications running with the trade off of transcoding would take longer
but since it is a background job, it should be fine
eventually it will chug all the video 😄
exactly -- there is no urgency on those transcodes
confirmed 4 cpus, will limit to 2 and see how it goes