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

1 messages · Page 1 of 1 (latest)

hushed topaz
#

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.

deep reefBOT
#

:wave: Hey @hushed topaz,

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

#

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.

hushed topaz
#

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
#
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

tiny galleon
#

Using a third party redis/postgres ?

hushed topaz
#

I should not be, pulled a new docker-compose when upgrading for v2

tiny galleon
#

I say this because I notice your "compose down" says 2/2 instead of 4/4

hushed topaz
#
#
# 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:
tiny galleon
#

So you don't have a valkey/redis running

#

or did not have

#

and that's the thing that queues the jobs 👀

hushed topaz
#

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

tiny galleon
#

are you using docker desktop or something

hushed topaz
#

docker engine

tiny galleon
#

If you're on ubuntu I'd expect you to just docker ps -a in the CLI 😛

hushed topaz
#

i am a CLI hater

tiny galleon
#

peepoNotes mentally unstable

#

If you hate CLI I'd go with something like portainer

hushed topaz
#

perhaps, but I'm unfamilliar with it

tiny galleon
#

It's all clicky clicky gui fun

#

Did you manage to get to those docker compose logs ?

hushed topaz
#

lemme see it freeze again

hushed topaz
#

did like 20 vids immediately then boom stuck

#
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

tiny galleon
#

Sounds like a specific video is breaking it somehow

hushed topaz
#

hmm interesting

tiny galleon
#

Transcodes should be logged though

#

This is regular x86_64? No Pi5 or whatever

hushed topaz
#

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

tiny galleon
#

Well portainer is easy for managing the containers, it won't magically fix problems like this 👀