Replies: 6 comments 9 replies
|
What do you have your concurrency set to on that job? Setting that value too high can actually be counterproductive. Also what CPU do you have in the mini pc? It's possible it's just not a very fast cpu. Also there are other things that increase the number of thumbnails to be generated as the job continues, like facial recognition. |
|
Conclusion after some testing: anyway, now i run library refresh and then missing thumbnails job and that seems to do the trick. |
|
@andyxpert I have a problem with thumbnail generation as well, but I am totally new to immich so I might have something wrong with my setup. My external library of ~120,000 photos is mounted over smb, and thubmnail generation never finishes... I tried using tree to count the images in the thumbs folder, and I have seen it go down, but I do not see anything interesting in the logs. |
|
Update: upgraded my mini-PC, now running a 9th gen i5 6 cores with 32 GB RAM. Allocated 2 cores and 8 GB for Immich Services I think there is still a bug in the thumb job which gets fixed/avoided by clearing the job cache and restarting the entire stack (or just the service) Btw, the log is clean no duplicate files or error generating thumbs and the thumbs seem to be constantly generated, so the error might be only on how the remaining job count is calculated (increasing instead of decreasing) |
|
FYI I'm having the same problem as @andyxpert just above. The jobs page reports 3XX,XXX thumbnails "waiting" and even though it is generating thumbnails at a decent clip, the cue just gets ever-larger. It grew from about 200,000 to around 350,000 in maybe an hour. I have about 250K images but all the thumbnails, except for a batch of around 1000 photos I just added, had previously been generated & working fine. Looking at the immich logs, it looks like it is generating new thumbnails for all sorts of images and then just deleting the previously generated thumbnails for the image. Also - and what brought this to my attention - the thumbnails for the newly added images were not being generated. They just showed up as and X. docker compose down redis followed by docker compose up redis -d got things back on track. It generated missing thumbnails for the new 1000 or so photos in just a few minutes and seems just fine now. |
|
I'm also having this issue. External library of 32k photos is generating its thumbnails from yesterday at full blast of ryzen 5 5600g + 8gb of RAM. I cannot comprehend why every time i look into it's stats, and stop generating and rerun job for missing thumbs it says different number (I'm not talking about differences like few hundreds, but difference between 10k-90k). Speeds I'm getting is 3/4 photos per minute at best. My concurent jobs were changed 3-6 which did nothing. Everything is hosted locally on Unraid through docker compose |


Uh oh!
There was an error while loading. Please reload this page.
Hello, I'll try to be brief...
Been using immich for almost a year already and love it.
Recently I'm having an issue when I run the Library job on the external lib (~65k files, mostly photos), after I add some new files to the folder, it takes around half an hour (slow mini-pc) to parse all the files, then it extracts metadata (mostly in parallel) and then it starts generating thumbnails. Nothing off so far.
The problem is that after a while (1-2 hours or so) only the thumbnail job remains active and it seems to be veeeeeeeeery slow.
Slow meaning that it processes around 4-5 items per minute... and having 54k+ files pending it takes close to a week to finish !!
is this normal ?
Why does the thumbnail generation speed drop so much and why does it take that long ?
The microservices node is hogging the RAM, nothing interesting in the logs...
attached a screenshot of the pending taska for the 3 jobs i mentioned - it's over a 12 hour timespan. You can clearly see the spikes when it started the library job (around 10h ago).

What do you guys think ?
All reactions