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
Any ideas anyone?
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.
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
You should put the limit on the service i.e immich-microservices or immich-machine-learning in the compose file
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