From 46a4db14d0438c35c32795322e93d7b23445775c 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dandi/tests/data/dandiarchive-docker/docker-compose.yml b/dandi/tests/data/dandiarchive-docker/docker-compose.yml index 3f132d3e0..8b2aa5319 100644 --- a/dandi/tests/data/dandiarchive-docker/docker-compose.yml +++ b/dandi/tests/data/dandiarchive-docker/docker-compose.yml @@ -67,7 +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 # When run with a TTY, minio prints credentials on startup