From 39bb94ab95b95d05fe5de35db121e499527882e0 Mon Sep 17 00:00:00 2001 From: Sven Feyerabend Date: Tue, 25 May 2021 18:13:31 +0200 Subject: [PATCH] debug(CI):log open file descriptors --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67c617c..6371814 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,14 +16,15 @@ services: before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - source environment - - ulimit -n 9223372036854775807 + - ulimit -n 999999 - ulimit + - lsof | wc -l - sysctl fs.file-max # - docker pull "$CI_REGISTRY_IMAGE" || true - docker pull "$BASE" - > docker build - --ulimit nofile=9223372036854775807 + --ulimit nofile=999999 --cache-from "$CI_REGISTRY_IMAGE" --pull --build-arg "BASE=$BASE"