[Feature] Global Job Concurrency #3625
Replies: 7 comments 24 replies
|
I agree with this: Assuming I have 8 cores, I might limit the microservice to four so transcoding doesn't take forever but then when I add images the CLIP or facial recognition might bring the system to full utilisation. It would be helpful to assign a total system utilisation for the entire stack and then allow concurrency to provide full resources to each process sequentially, rather than hope a particular upload doesn't allow various containers in the stack to stress the system |
|
+1 Running Immich with docker in a 12 core VM (2x Xeon E5 2697 v2 system). I have 20 thumbnail jobs running at once with no other tasks (manually paused them). CPU spikes 50-100. System becomes unusable if I have any more running. |
|
Assuming you are running with deploy:
resources:
limits:
cpus: 2
memory: 2500mbYou can do the same on the |
|
here's my contribution to the discussion, hoping that this gets traction ! I'm going a bit beyond global job concurrency and hoping for a job priority queue. :D Current situation :
Issue : Proposal :
for example : with these settings, the server will either :
|
|
Hello, everyone. I created a Docker container based on a script from @DidouJazz and converted it to shell. You can simply add it to your compose file by specifying all the necessary variables. Instructions are available in the repository. |
|
I have the same problem — now that OCR is included, it adds about +3 GB of RAM usage and kills my system. |

Uh oh!
There was an error while loading. Please reload this page.
The feature
On poor systems like mine (i3-8300, 4 cores) Immich overwhelms the system when I ingest a lot of media.
I have observed that if I pause ALL services and then have only one running at the time, it is much better: sure it may take more time, but at least won't hog down the CPU to 99.99%, and the system remains usable to a certain degree.
So please, introduce a "Global Job Concurrency", and not only for a specific job, so I can set it to 1 and not have my server die under Immich processing!
Platform
All reactions