No CPU Usage, Jobs stuck at 1 Active for Video Transcoding (and probably more)

Example: Video Transcode. Click missing, maybe performs one or two jobs but then gets stuck. docker stats says CPU is < 1%. Trying to do docker compose down failes on immich_server am using Ubuntu 24.04 Restarting PC resets the jobs. My library folder is inside a Cryptomator FUSE mounted directory Postgres is in a /home/ folder.
25 Replies
Immich
Immich4h ago
:wave: Hey @stevenhuyn, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
stevenhuyn
stevenhuynOP4h ago
Docker compose logs seem nothing out of the ordinary:
mmich_server | [Nest] 24 - 10/03/2025, 4:41:33 PM LOG [Api:Bootstrap] Immich Server is listening on http://[::1]:2283 [v2.0.0] [production]
immich_server | [Nest] 24 - 10/03/2025, 4:41:33 PM LOG [Api:MachineLearningRepository] Machine learning server became healthy (http://immich-machine-learning:3003).
immich_server | [Nest] 24 - 10/03/2025, 4:41:49 PM LOG [Api:EventRepository] Websocket Connect: npq0eSDrkTNuSSaSAAAB
immich_server | [Nest] 24 - 10/03/2025, 4:41:51 PM LOG [Api:EventRepository] Websocket Connect: uegtDF8AYurk9uALAAAD
immich_server | [Nest] 24 - 10/03/2025, 4:48:36 PM LOG [Api:EventRepository] Websocket Disconnect: uegtDF8AYurk9uALAAAD
immich_server | [Nest] 24 - 10/03/2025, 4:48:36 PM LOG [Api:EventRepository] Websocket Connect: Zb3f-OQ060HMr4x-AAAF
immich_server | [Nest] 24 - 10/03/2025, 4:56:08 PM LOG [Api:EventRepository] Websocket Disconnect: Zb3f-OQ060HMr4x-AAAF
immich_server | [Nest] 24 - 10/03/2025, 4:56:09 PM LOG [Api:EventRepository] Websocket Connect: 3C9nPm1yccahNpBAAAAH
mmich_server | [Nest] 24 - 10/03/2025, 4:41:33 PM LOG [Api:Bootstrap] Immich Server is listening on http://[::1]:2283 [v2.0.0] [production]
immich_server | [Nest] 24 - 10/03/2025, 4:41:33 PM LOG [Api:MachineLearningRepository] Machine learning server became healthy (http://immich-machine-learning:3003).
immich_server | [Nest] 24 - 10/03/2025, 4:41:49 PM LOG [Api:EventRepository] Websocket Connect: npq0eSDrkTNuSSaSAAAB
immich_server | [Nest] 24 - 10/03/2025, 4:41:51 PM LOG [Api:EventRepository] Websocket Connect: uegtDF8AYurk9uALAAAD
immich_server | [Nest] 24 - 10/03/2025, 4:48:36 PM LOG [Api:EventRepository] Websocket Disconnect: uegtDF8AYurk9uALAAAD
immich_server | [Nest] 24 - 10/03/2025, 4:48:36 PM LOG [Api:EventRepository] Websocket Connect: Zb3f-OQ060HMr4x-AAAF
immich_server | [Nest] 24 - 10/03/2025, 4:56:08 PM LOG [Api:EventRepository] Websocket Disconnect: Zb3f-OQ060HMr4x-AAAF
immich_server | [Nest] 24 - 10/03/2025, 4:56:09 PM LOG [Api:EventRepository] Websocket Connect: 3C9nPm1yccahNpBAAAAH
docker compose down
[+] Running 2/2
✔ Container immich_machine_learning Removed 0.2s
✘ Container immich_server Error while Stopping 24.1s
Error response from daemon: cannot stop container: 7e7b344b769c9557705a54b1b8b3d201b9852a77a54bc6e9202e4a778d9a3cfc: tried to kill container, but did not receive an exit event
docker compose down
[+] Running 2/2
✔ Container immich_machine_learning Removed 0.2s
✘ Container immich_server Error while Stopping 24.1s
Error response from daemon: cannot stop container: 7e7b344b769c9557705a54b1b8b3d201b9852a77a54bc6e9202e4a778d9a3cfc: tried to kill container, but did not receive an exit event
Frontend website appears to work as normal just jobs stuck
Mraedis
Mraedis4h ago
Using a third party redis/postgres ?
stevenhuyn
stevenhuynOP4h ago
I should not be, pulled a new docker-compose when upgrading for v2
Mraedis
Mraedis4h ago
I say this because I notice your "compose down" says 2/2 instead of 4/4
stevenhuyn
stevenhuynOP3h ago
#
# WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.

name: immich

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
# Other drives
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
#
# WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.

name: immich

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
# Other drives
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: false

redis:
container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571
healthcheck:
test: redis-cli ping || exit 1
restart: always

database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:41eacbe83eca995561fe43814fd4891e16e39632806253848efaf04d3c8a8b84
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb
restart: always

volumes:
model-cache:
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: false

redis:
container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571
healthcheck:
test: redis-cli ping || exit 1
restart: always

database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:41eacbe83eca995561fe43814fd4891e16e39632806253848efaf04d3c8a8b84
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb
restart: always

volumes:
model-cache:
Mraedis
Mraedis3h ago
So you don't have a valkey/redis running or did not have and that's the thing that queues the jobs 👀
stevenhuyn
stevenhuynOP3h ago
my vscode containers extension says it was there, I'll peek again and check my redis version yep git says no diff except my extra volumes, gonna restart brb
Mraedis
Mraedis3h ago
are you using docker desktop or something
stevenhuyn
stevenhuynOP3h ago
docker engine
Mraedis
Mraedis3h ago
If you're on ubuntu I'd expect you to just docker ps -a in the CLI 😛
stevenhuyn
stevenhuynOP3h ago
i am a CLI hater
Mraedis
Mraedis3h ago
:peepoNotes: mentally unstable If you hate CLI I'd go with something like portainer
stevenhuyn
stevenhuynOP3h ago
perhaps, but I'm unfamilliar with it
Mraedis
Mraedis3h ago
It's all clicky clicky gui fun Did you manage to get to those docker compose logs ?
stevenhuyn
stevenhuynOP3h ago
lemme see it freeze again this
stevenhuyn
stevenhuynOP3h ago
did like 20 vids immediately then boom stuck
No description
stevenhuyn
stevenhuynOP3h ago
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0893eaee1166 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
c7c1d9f5e942 ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 2 minutes ago Up 2 minutes (healthy) 5432/tcp immich_postgres
08d50f1b2b8d ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 2 minutes ago Up 2 minutes (healthy) immich_machine_learning
c98c2058108f valkey/valkey:8-bookworm "docker-entrypoint.s…" 2 minutes ago Up 2 minutes (healthy) 6379/tcp immich_redis
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0893eaee1166 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
c7c1d9f5e942 ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 2 minutes ago Up 2 minutes (healthy) 5432/tcp immich_postgres
08d50f1b2b8d ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 2 minutes ago Up 2 minutes (healthy) immich_machine_learning
c98c2058108f valkey/valkey:8-bookworm "docker-entrypoint.s…" 2 minutes ago Up 2 minutes (healthy) 6379/tcp immich_redis
things are up but I'm gonna guess if I run docker compose down it'll do that weird thing again
Mraedis
Mraedis3h ago
Sounds like a specific video is breaking it somehow
stevenhuyn
stevenhuynOP3h ago
hmm interesting
Mraedis
Mraedis3h ago
Transcodes should be logged though This is regular x86_64? No Pi5 or whatever
stevenhuyn
stevenhuynOP3h ago
yep. Although it's a Thinkcentre NUC but intel CPU yes 6500T or something lemme try a different job because I believe any job causes the stuck worst case I'll just try portainer
Mraedis
Mraedis3h ago
Well portainer is easy for managing the containers, it won't magically fix problems like this 👀
stevenhuyn
stevenhuynOP3h ago
sad

Did you find this page helpful?