From 813832aa73ed62aec9c3befb268f48ed4581325e Mon Sep 17 00:00:00 2001 From: Binary Alley Date: Sat, 7 Nov 2026 19:01:40 +0200 Subject: [PATCH] Raises the Linux file watcher limits for the parallel test hosts. --- .github/workflows/run-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index afb7cd3a..6e871e06 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,6 +19,11 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: '10.0.x' + - name: Raise file watcher limits + # The test hosts create a Razor file watcher per static asset, and the default limit of 128 inotify instances + # is reached when several hosts run in parallel. + if: runner.os == 'Linux' + run: sudo sysctl -w fs.inotify.max_user_instances=1024 fs.inotify.max_user_watches=524288 - name: Restore Six Labors license shell: bash run: printf '%s\n' "${{ secrets.SIXLABORS_LICENSE_KEY }}" > src/Lumina.Domain/sixlabors.lic