1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-07 05:57:46 +03:00

fmf: Bump inotify limits to avoid systemd-nspawn failures

This commit is contained in:
Daan De Meyer 2025-01-10 15:26:37 +01:00
parent 1f17ec0ed4
commit c32a8cdaa0

View File

@ -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:
#