From bf8caccd884127dd9a882cc6c47636c7cccd6354 Mon Sep 17 00:00:00 2001 From: ginnoir Date: Wed, 24 Jun 2026 01:28:08 -0500 Subject: [PATCH] fix(media): raise nofile ulimit to 65536 for *arr containers sonarr/radarr/prowlarr/whisparr/bazarr were hitting the default Docker nofile limit of 1024, causing EMFILE errors and excessive virtiofsd FD churn on the /storage1 virtiofs mount. --- stacks/media/docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stacks/media/docker-compose.yml b/stacks/media/docker-compose.yml index f7fe175..315986f 100644 --- a/stacks/media/docker-compose.yml +++ b/stacks/media/docker-compose.yml @@ -29,6 +29,8 @@ services: networks: [media, edge] env_file: - stack.env + ulimits: + nofile: { soft: 65536, hard: 65536 } volumes: - /etc/localtime:/etc/localtime:ro - /config/sonarr:/config @@ -45,6 +47,8 @@ services: networks: [media, edge] env_file: - stack.env + ulimits: + nofile: { soft: 65536, hard: 65536 } volumes: - /etc/localtime:/etc/localtime:ro - /config/radarr:/config @@ -60,6 +64,8 @@ services: networks: [media, edge] env_file: - stack.env + ulimits: + nofile: { soft: 65536, hard: 65536 } environment: - UMASK_SET=022 volumes: @@ -77,6 +83,8 @@ services: networks: [media, edge] env_file: - stack.env + ulimits: + nofile: { soft: 65536, hard: 65536 } environment: - UMASK=002 volumes: @@ -137,6 +145,8 @@ services: networks: [media, edge] env_file: - stack.env + ulimits: + nofile: { soft: 65536, hard: 65536 } environment: - UMASK=002 - WEBUI_PORTS=6969/tcp