From ca1f575e0371eb64740127ce059a7520f83bfbaf Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 20 Nov 2024 16:24:39 -0500 Subject: [PATCH] Specify custom ulimit on nofiles to prevent infinite loop by billiard Closes: https://github.com/dandi/dandi-cli/issues/1488 See: https://github.com/celery/billiard/pull/417 --- dandi/tests/data/dandiarchive-docker/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dandi/tests/data/dandiarchive-docker/docker-compose.yml b/dandi/tests/data/dandiarchive-docker/docker-compose.yml index 3f132d3e0..4e553cb86 100644 --- a/dandi/tests/data/dandiarchive-docker/docker-compose.yml +++ b/dandi/tests/data/dandiarchive-docker/docker-compose.yml @@ -67,6 +67,11 @@ services: environment: << : *django_env DJANGO_DANDI_VALIDATION_JOB_INTERVAL: "5" + ulimits: + # https://github.com/celery/billiard/pull/417 + nofile: + soft: 1000 + hard: 3000 minio: image: minio/minio:RELEASE.2022-04-12T06-55-35Z