Add ulimit and max_map_count
This commit is contained in:
parent
8f3ff99972
commit
bd368a2801
|
@ -16,3 +16,8 @@ ln -sf /run/runit/supervise.runsvdir-$zuser /etc/sv/runsvdir-$zuser/supervise
|
|||
|
||||
# force-enable Wayland on nvidia GPUs
|
||||
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
|
||||
|
||||
# Set ulimit and vm.max_map_count
|
||||
echo "vm.max_map_count=262144" >> /etc/sysctl.conf
|
||||
echo "$zuser hard nofile 524288" >> /etc/security/limits.conf
|
||||
echo "$zuser soft nofile 524288" >> /etc/security/limits.conf
|
||||
|
|
Loading…
Reference in New Issue