Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions etc/sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ net.ipv4.conf.all.arp_filter = 1
# disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1

# but keep ::1 on lo. With ip_nonlocal_bind (below), binding to ::1 succeeds
# even without the address, so servers trying ::1 before 127.0.0.1 (e.g.
# Bazel) never fall back and listen where no client can connect.
net.ipv6.conf.lo.disable_ipv6 = 0

# on user request increase the number of inode watches.
# 256k should be fine. (default is 8k)
fs.inotify.max_user_watches = 262144
Expand Down