From 2ef9b8711eff21b3edfbce539168e41851994381 Mon Sep 17 00:00:00 2001 From: milan Date: Tue, 9 Jul 2019 21:10:29 +0200 Subject: [PATCH] dlna_fix --- setup-usl-mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup-usl-mm b/setup-usl-mm index 24b0d55..6ec348b 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -64,6 +64,10 @@ echo "Configuring sysctl" echo "vm.swappiness = 1" > /etc/sysctl.d/50-usl-mm.conf echo "vm.min_free_kbytes = 131072" >> /etc/sysctl.d/50-usl-mm.conf echo "vm.dirty_background_ratio = 5" >> /etc/sysctl.d/50-usl-mm.conf +echo "fs.inotify.max_queued_events = 1048576" >> /etc/sysctl.d/50-usl-mm.conf +echo "fs.inotify.max_user_instances = 1048576" >> /etc/sysctl.d/50-usl-mm.conf +echo "fs.inotify.max_user_watches = 1048576" >> /etc/sysctl.d/50-usl-mm.conf +echo "kernel.dmesg_restrict = 1" >> /etc/sysctl.d/50-usl-mm.conf echo "Configuring arc cache for zfs to min 256MB and max 1536MB" echo "options zfs zfs_arc_min=268435456" > /etc/modprobe.d/zfs.conf