Skip to content

service fs failed: injecting event blocked for 60s #314

@miladnazari-tomtom

Description

@miladnazari-tomtom

Description

I get this error when running a container (of Immich) that is binding to a folder containing thousands of pictures and videos (26,606 files, 417 GB, I'm using Immich as an alternative to Google Photos, both the Docker volumes and the folder containing the pictures and videos are on the same drive).

The container starts without any problem, however after 2/3 days, I get this "service fs failed: injecting event blocked for 60s" error and all containers become unresponsive and unreachable.

Image

After clicking on the button "Quit", when I try to start Docker Desktop again, nothing happens, I need to completely restart the machine and then finally Docker Desktop starts correctly.

Similar error has already been reported for

Reproduce

  1. Start Docker Desktop
  2. Start container that has a binding to a folder containing a lot of data
  3. Wait a few hours or days
  4. Error Pop up "service fs failed: injecting event blocked for 60s" will appear

Expected behavior

I expect Docker Desktop to not crash

docker version

Client: Docker Engine - Community
 Version:           28.3.3
 API version:       1.51
 Go version:        go1.24.5
 Git commit:        980b856
 Built:             Fri Jul 25 11:34:09 2025
 OS/Arch:           linux/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.54.0 (212467)
 Engine:
  Version:          29.1.2
  API version:      1.52 (minimum version 1.44)
  Go version:       go1.25.5
  Git commit:       de45c2a
  Built:            Tue Dec  2 21:55:26 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v2.2.0
  GitCommit:        1c4457e00facac03ce1d75f7b6777a7a851e5c41
 runc:
  Version:          1.3.4
  GitCommit:        v1.3.4-0-gd6d73eb8
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

docker info
Client: Docker Engine - Community
 Version:    28.3.3
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Docker AI Agent - Ask Gordon (Docker Inc.)
    Version:  v1.17.0
    Path:     /home/nazari/.docker/cli-plugins/docker-ai
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.30.1-desktop.1
    Path:     /home/nazari/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.40.3-desktop.1
    Path:     /home/nazari/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.45
    Path:     /home/nazari/.docker/cli-plugins/docker-debug
  desktop: Docker Desktop commands (Docker Inc.)
    Version:  v0.2.0
    Path:     /home/nazari/.docker/cli-plugins/docker-desktop
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.31
    Path:     /home/nazari/.docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     /home/nazari/.docker/cli-plugins/docker-init
  mcp: Docker MCP Plugin (Docker Inc.)
    Version:  v0.28.0
    Path:     /home/nazari/.docker/cli-plugins/docker-mcp
  offload: Docker Offload (Docker Inc.)
    Version:  v0.5.29
    Path:     /home/nazari/.docker/cli-plugins/docker-offload
  pass: Docker Pass Secrets Manager Plugin (beta) (Docker Inc.)
    Version:  v0.0.15
    Path:     /home/nazari/.docker/cli-plugins/docker-pass
  sandbox: Docker Sandbox (Docker Inc.)
    Version:  v0.6.0
    Path:     /home/nazari/.docker/cli-plugins/docker-sandbox
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /home/nazari/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.18.3
    Path:     /home/nazari/.docker/cli-plugins/docker-scout

Server:
 Containers: 18
  Running: 17
  Paused: 0
  Stopped: 1
 Images: 61
 Server Version: 29.1.2
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Discovered Devices:
  cdi: docker.com/gpu=webgpu
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1c4457e00facac03ce1d75f7b6777a7a851e5c41
 runc version: v1.3.4-0-gd6d73eb8
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.12.54-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 14.14GiB
 Name: docker-desktop
 ID: 491db866-fe9e-446d-9165-d2dc21bd7800
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=unix:///home/nazari/.docker/desktop/docker-cli.sock
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
  ::1/128
 Live Restore Enabled: false

Diagnostics ID

7CCD5045-B405-4288-B395-C9177AA80051/20260108075800

Additional Info

Good to know:

Multiple virtiofsd instances exited with status -1 before the fs service blocked:

Jan 02 15:08:43 nazari com.docker.backend[6723]: [14:08:43.516802349Z][main.stats            ][W] fetching stats failed, possibly because of idle: Get "http://ipc/vm/ram-cpu-usage": context deadline exceeded
Jan 02 15:08:58 nazari com.docker.backend[6723]: {"component":"apiproxy","level":"info","msg":">> GET /images/json","time":"2026-01-02T15:08:58.339947024+01:00","user_agent":"DockerDesktopUI"}
Jan 02 15:08:58 nazari com.docker.backend[6723]: {"component":"apiproxy","level":"info","msg":">> GET /networks","time":"2026-01-02T15:08:58.340026860+01:00","user_agent":"DockerDesktopUI"}
Jan 02 15:08:58 nazari com.docker.backend[6723]: {"component":"apiproxy","level":"info","msg":">> GET /containers/json?all=true","time":"2026-01-02T15:08:58.340093909+01:00","user_agent":"DockerDesktopUI"}
Jan 02 15:09:29 nazari com.docker.backend[6723]: [14:09:29.155796563Z][main.ipc              ][W] (f11d5a18-1) 68d44255-PauseHDL C<-S ConnectionClosed POST /unpause (1m0.000382326s): Post "http://ipc/unpause": context deadline exceeded
Jan 02 15:09:29 nazari com.docker.backend[6723]: [14:09:29.155941885Z][main.enginedependencies] unpause failed: Post "http://ipc/unpause": context deadline exceeded assuming VM is already stopped
Jan 02 15:09:29 nazari com.docker.backend[6723]: [14:09:29.156007275Z][main.socketforwarder  ] keep existing connections open
Jan 02 15:09:29 nazari com.docker.backend[6723]: [14:09:29.156036288Z][main.enginedependencies] stopping vm control init
Jan 02 15:09:29 nazari com.docker.backend[6723]: [14:09:29.156076816Z][main.ipc              ] (508865c7-0) c286d6d8-engines C->S init POST /shutdown
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156429124Z][main.ipc              ][W] (508865c7-0) c286d6d8-engines C<-S ConnectionClosed POST /shutdown (10.000350954s): Post "http://ipc/shutdown": context deadline exceeded
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156586051Z][main.ipc              ] (508865c7-1) c286d6d8-engines C->S init GET /ping
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156738303Z][main.ipc              ][W] (508865c7-1) c286d6d8-engines C<-S ConnectionClosed GET /ping (162.741µs): Get "http://ipc/ping": context deadline exceeded
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156820630Z][main.enginedependencies][W] init failed to shutdown the VM: Post "http://ipc/shutdown": context deadline exceeded
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156881463Z][main.enginedependencies] stopping forwarding dials
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156899413Z][main.socketforwarder  ] stop forwarding dials to remote
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156928849Z][main.enginedependencies] graceful shutdown complete
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156950793Z][main.engines          ] engine linux/qemu stopping hypervisor process
Jan 02 15:09:39 nazari com.docker.backend[6723]: [14:09:39.156994694Z][main.socketforward    ] dial forwarding stopped with context canceled
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.157667636+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.157668161+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.158637517+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.164480038+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.179948023+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.184622915+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.192524360+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.198123880+01:00"}
Jan 02 15:09:44 nazari com.docker.backend[6723]: {"component":"virtiofs","level":"info","msg":"virtiofsd exited with status -1","time":"2026-01-02T15:09:44.205339756+01:00"}

Docker compose file:

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    deploy:
      resources:
        limits:
          cpus: '4'
          memory: 8gb
    # 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}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - /home/username/photos-videos/private:/home/username/photos-videos/private
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions