fixes inotify too many open files on node with >f18
[nodeconfig.git] / PlanetLabConf / sysctl.conf
1 # Controls the System Request debugging functionality of the kernel
2 kernel.sysrq = 0
3
4 # Controls whether core dumps will append the PID to the core filename.
5 # Useful for debugging multi-threaded applications.
6 kernel.core_uses_pid = 1
7
8 # Controls source route verification
9 net.ipv4.conf.default.rp_filter = 1
10
11 # TCP window scaling and broken routers
12 net.ipv4.tcp_moderate_rcvbuf=0
13 net.ipv4.tcp_default_win_scale=0
14 net.ipv4.tcp_window_scaling=1
15
16 # Mark only out of window RST segments as INVALID. This setting, among
17 # other things, allows data to be sent with SYN packets.
18 net.ipv4.netfilter.ip_conntrack_tcp_be_liberal=1
19
20 # Fixes dst cache overflow bug
21 net.ipv4.route.max_size=262144
22
23 net.ipv4.tcp_congestion_control = cubic
24 net.ipv4.tcp_moderate_rcvbuf = 0
25 net.core.rmem_max = 131071
26 net.core.wmem_max = 131071
27 net.ipv4.tcp_rmem = 4096 87380 4194304
28 net.ipv4.tcp_wmem = 4096 16384 4194304
29 net.netfilter.nf_conntrack_icmp_timeout = 60
30
31 fs.inotify.max_user_watches = 81920
32 fs.inotify.max_user_instances = 1024