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.
This commit is contained in:
ginnoir
2026-06-24 01:28:08 -05:00
parent f477465a1d
commit bf8caccd88
+10
View File
@@ -29,6 +29,8 @@ services:
networks: [media, edge] networks: [media, edge]
env_file: env_file:
- stack.env - stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /config/sonarr:/config - /config/sonarr:/config
@@ -45,6 +47,8 @@ services:
networks: [media, edge] networks: [media, edge]
env_file: env_file:
- stack.env - stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /config/radarr:/config - /config/radarr:/config
@@ -60,6 +64,8 @@ services:
networks: [media, edge] networks: [media, edge]
env_file: env_file:
- stack.env - stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
environment: environment:
- UMASK_SET=022 - UMASK_SET=022
volumes: volumes:
@@ -77,6 +83,8 @@ services:
networks: [media, edge] networks: [media, edge]
env_file: env_file:
- stack.env - stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
environment: environment:
- UMASK=002 - UMASK=002
volumes: volumes:
@@ -137,6 +145,8 @@ services:
networks: [media, edge] networks: [media, edge]
env_file: env_file:
- stack.env - stack.env
ulimits:
nofile: { soft: 65536, hard: 65536 }
environment: environment:
- UMASK=002 - UMASK=002
- WEBUI_PORTS=6969/tcp - WEBUI_PORTS=6969/tcp