Skip to content

Commit de7eda0

Browse files
committed
Specify custom ulimit on nofiles to prevent infinite loop by billiard
Closes: #1488 See: celery/billiard#417
1 parent 958adbe commit de7eda0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dandi/tests/data/dandiarchive-docker/docker-compose.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: '3.7'
12
# Based on
23
# <https://github.com/dandi/dandiarchive/blob/master/docker/docker-compose.yml>,
34
# <https://github.com/dandi/dandi-api/blob/master/docker-compose.yml>, and
@@ -67,7 +68,11 @@ services:
6768
environment:
6869
<< : *django_env
6970
DJANGO_DANDI_VALIDATION_JOB_INTERVAL: "5"
70-
71+
ulimits:
72+
# https://github.com/celery/billiard/pull/417
73+
nofile:
74+
soft: 1000
75+
hard: 3000
7176
minio:
7277
image: minio/minio:RELEASE.2022-04-12T06-55-35Z
7378
# When run with a TTY, minio prints credentials on startup

0 commit comments

Comments
 (0)