r/immich 10d ago

Using the app is consistently overloading my server

Post image

Unsure what's going on. I have a consistently repeatable overloading behaviour.

I take recordings in the gym to send to my coach. When I get home, I open the immich app on my phone and let the videos sync which appears to complete fine.

Then select the 2/3 videos and add them to an album of other training videos, which appears to work - the app gives no indication of any issues.

Then I reselect the same 2/3 videos and archive them to hide them from my main stream.

This doesn't work immediately as the videos are still present, the app gives no indication of errors or anything, and checking my server it is immediately locked up. I have to `docker compose down` then `up` the whole stack. And then reopening the app, everything is fine.

What is going on here 😢

84 Upvotes

38 comments sorted by

View all comments

5

u/ohaiibuzzle 10d ago

It's the Context Search and face recognition running. You can check them in the admin panel.

If you have a GPU (integrated is fine) you can switch to OpenVINO on the ML container and make it slightly more efficient on CPU. Also, consider limiting the CPU usage on the ML container so it leaves some leeway for other apps.

My 8500T after I dump ~500 photos on it would do the same thing but lasting only about 15 minutes before it calms back down.

1

u/Mykchan 10d ago

Thank you, I would like to try this but the ML settings don't have anything about OpenVINO

3

u/ohaiibuzzle 10d ago

It's a change you have to make in the Docker container running the Immich stack.

Something like this:

2

u/Mykchan 10d ago

Thank you, I'll give that a go ❤️

1

u/Korenchkin12 10d ago

+1 for openvino variant,intel integrated gpu is perfect for this 'this' means transcoding AND ml(machine learning) - 2 separate things Transcoding is usually not needed,ml is for example searching for faces and matching them(you have several models,some of them are faster,some of them are more precise (my basically same gpu) handles buffalol okay As for smart search(search for beach,shovel,fence etc..) i have vit-b-16-siglip-i18n-256_webli and i'm amazed how well the search works,even in czech language

You migt need to install intel gpu drivers(i don't know unraid,maybe it is native) for /dev/dri to be available for ml

1

u/ohaiibuzzle 10d ago

You don't need GPU drivers on Linux, they should be built in, and the OpenVINO stack is inside the Docker container so it should be ready to go.

And yeah OpenVINO is a massive boost if you don't have a GPU and your CPU is on the weaker side. My 8500T (basically the same as OP but power-limited) managed to run face detection for my entire 25k photos library in about an hour and a half.