Aktualizovat setup-usi-mm

This commit is contained in:
Milan Meduna 2025-01-20 11:35:19 +01:00
parent 86ae899bea
commit 33a88ef3fb

View file

@ -95,8 +95,7 @@ echo "fs.inotify.max_user_instances = 1048576" >> /etc/sysctl.d/50-usi-mm.conf
echo "fs.inotify.max_user_watches = 1048576" >> /etc/sysctl.d/50-usi-mm.conf echo "fs.inotify.max_user_watches = 1048576" >> /etc/sysctl.d/50-usi-mm.conf
echo "kernel.dmesg_restrict = 1" >> /etc/sysctl.d/50-usi-mm.conf echo "kernel.dmesg_restrict = 1" >> /etc/sysctl.d/50-usi-mm.conf
echo "net.netfilter.nf_conntrack_max = 4194304" >> /etc/sysctl.d/50-usi-mm.conf echo "net.netfilter.nf_conntrack_max = 4194304" >> /etc/sysctl.d/50-usi-mm.conf
#Ugly fix echo "nf_conntrack" >> /etc/modules
echo "@reboot root /sbin/sysctl -w net.netfilter.nf_conntrack_max=4194304" > /etc/cron.d/conntrack_cron
echo "Configuring arc cache for zfs to min 256MB and max 1536MB + txg_timeout to 3" echo "Configuring arc cache for zfs to min 256MB and max 1536MB + txg_timeout to 3"
echo "options zfs zfs_arc_min=268435456" > /etc/modprobe.d/zfs.conf echo "options zfs zfs_arc_min=268435456" > /etc/modprobe.d/zfs.conf