Resource limiting and video transcode
Hi!
I’ve been using Immich for about 2 months now, but still haven’t figured a lot of things out. After two months of trial and error, I’ve got a 1.5TB library pretty solidly working, but I’ve had to do a lot of server restarts…using a 2012 Mac Mini running Ubuntu server with Docker Compose, so the resources are limited. Before the 1.3.3 update, I was using a “deploy” line in the docker-compose.yml to limit resources, which was kinda working. It completely solved the problem of crashing server, but everything got crazy slow. I was planning on tweaking how much access to resources I gave to each service, but before I got around to doing that, the update came and I couldn’t seem to get anything to work for a bit. I decided to remove all my tweaks to resource access in the yml, and eventually got everything back online. Now I’m wondering if my method of limiting resources to prevent crashing was the right one? If so, I’ll go back and try it again and tweak from there, but if not, what’s a better way to do it?
Specifically when I would have facial detection and facial recognition running at the same time, the server would crash. Now that I’ve gotten down to just new photos, that doesn’t cause a problem anymore. But basically anytime I try to transcode videos, the server crashes after 10 or 20 videos. I’m stuck at about 8500 videos to transcode, so I go through 10 or so, the server crashes, I notice hours later and restart the server and Immich, and then go through 10 more, repeat…
By the way, of course I’ve set up the concurrency in the app to limit down to 1 of each. I’m looking for a server-side solution or a more detailed solution than the basic settings available in the app.
Thanks!
I’ve been using Immich for about 2 months now, but still haven’t figured a lot of things out. After two months of trial and error, I’ve got a 1.5TB library pretty solidly working, but I’ve had to do a lot of server restarts…using a 2012 Mac Mini running Ubuntu server with Docker Compose, so the resources are limited. Before the 1.3.3 update, I was using a “deploy” line in the docker-compose.yml to limit resources, which was kinda working. It completely solved the problem of crashing server, but everything got crazy slow. I was planning on tweaking how much access to resources I gave to each service, but before I got around to doing that, the update came and I couldn’t seem to get anything to work for a bit. I decided to remove all my tweaks to resource access in the yml, and eventually got everything back online. Now I’m wondering if my method of limiting resources to prevent crashing was the right one? If so, I’ll go back and try it again and tweak from there, but if not, what’s a better way to do it?
Specifically when I would have facial detection and facial recognition running at the same time, the server would crash. Now that I’ve gotten down to just new photos, that doesn’t cause a problem anymore. But basically anytime I try to transcode videos, the server crashes after 10 or 20 videos. I’m stuck at about 8500 videos to transcode, so I go through 10 or so, the server crashes, I notice hours later and restart the server and Immich, and then go through 10 more, repeat…
By the way, of course I’ve set up the concurrency in the app to limit down to 1 of each. I’m looking for a server-side solution or a more detailed solution than the basic settings available in the app.
Thanks!