From: Daan De Meyer Date: Fri, 10 Jan 2025 14:26:37 +0000 (+0100) Subject: fmf: Bump inotify limits to avoid systemd-nspawn failures X-Git-Tag: v258-rc1~1640^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c32a8cdaa0f03ae29e9edade1213cc2001b28000;p=thirdparty%2Fsystemd.git fmf: Bump inotify limits to avoid systemd-nspawn failures --- diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index d1e43b1d7db..34bf1abfa89 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -13,6 +13,10 @@ lsmem echo "Clock source: $(cat /sys/devices/system/clocksource/clocksource0/current_clocksource)" +# Bump inotify limits so nspawn containers don't run out of inotify file descriptors. +sysctl fs.inotify.max_user_watches=65536 +sysctl fs.inotify.max_user_instances=1024 + # Allow running the integration tests downstream in dist-git with something like # the following snippet which makes the dist-git sources available in $TMT_SOURCE_DIR: #