2 description "Base role applied to all servers"
7 :grant => { :status => :administrator },
8 :tomh => { :status => :administrator },
9 :matt => { :status => :administrator },
10 :jburgess => { :status => :administrator }
14 :sources => ["openstreetmap"]
19 :systime => { :warning => "100", :critical => "250" }
25 :internal => { :metric => 200, :zone => "loc" },
26 :external => { :metric => 100 }
28 :search => ["openstreetmap.org"]
32 :comment => "Reboot automatically after a panic",
33 :parameters => { "kernel.panic" => "60" }
36 :comment => "Do TCP level MTU probing if we seem to have an ICMP blackhole",
38 "net.ipv4.tcp_mtu_probing" => "1",
39 "net.ipv4.tcp_base_mss" => "1024"
43 :comment => "Tune network buffers",
45 "net.core.rmem_max" => "16777216",
46 "net.core.wmem_max" => "16777216",
47 "net.ipv4.tcp_rmem" => "4096\t87380\t16777216",
48 "net.ipv4.tcp_wmem" => "4096\t65536\t16777216",
49 "net.ipv4.udp_mem" => "3145728\t4194304\t16777216"
53 :comment => "Increase maximum backlog for incoming network packets",
55 "net.core.netdev_max_backlog" => "2500",
56 "net.core.netdev_budget" => "600"
59 :network_conntrack_established => {
60 :comment => "Only track established connections for four hours",
62 "net.netfilter.nf_conntrack_tcp_timeout_established" => "14400"
66 :comment => "Turn on syncookies to protect against SYN floods",
68 "net.ipv4.tcp_syncookies" => "1"
72 :comment => "Use fq as the default queuing discipline and bbr for congestion control",
74 "net.core.default_qdisc" => "fq",
75 "net.ipv4.tcp_congestion_control" => "bbr"
78 :tune_cpu_scheduler => {
79 :comment => "Tune CPU scheduler for server scheduling",
81 "kernel.sched_migration_cost_ns" => 50000000,
82 "kernel.sched_autogroup_enabled" => 0