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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user