I
Immich2y ago
tDames

CPU Limit Unraid

How do I limit CPU usage for the docker compose install via Unraid? When I have a large library to import, it locks up the server everytime.
5 Replies
tDames
tDamesOP2y ago
Any ideas anyone?
Alex Tran
Alex Tran2y ago
Can you take a look at this page? https://www.baeldung.com/ops/docker-memory-limit
Baeldung
Setting Memory and CPU Limits In Docker | Baeldung
A quick and practical guide to setting memory/CPU limits in Docker.
tDames
tDamesOP2y ago
Checked it out, would I have to put limits on every container or is it somewhere I can put it to limit every Immich container Sorry in not familiar with docker compose. This is the first app i've had to use with it
Alex Tran
Alex Tran2y ago
You should put the limit on the service i.e immich-microservices or immich-machine-learning in the compose file
tDames
tDamesOP2y ago
Thank you, I believe I have fixed the issue by adding cpu: 0.5 to the compose file under microservices Update: I added my 2nd drive as a read only library, and after a short period of time, it locks up. Trying to figure that out

Did you find this page helpful?