2 description "Role applied to all nominatim servers."
7 :lonvia => { :status => :administrator },
8 :twain => { :status => :administrator },
11 :members => [:lonvia, :tomh, :twain]
21 :max_request_workers => 1600,
22 :threads_per_child => 50
26 :sources => ["postgresql"]
31 :max_connections => "450",
32 :synchronous_commit => "off",
33 :checkpoint_segments => "32",
34 :checkpoint_timeout => "10min",
35 :checkpoint_completion_target => "0.9",
36 :shared_buffers => "2GB",
37 :autovacuum_max_workers => "1"
43 :comment => "Increase shared memory for postgres",
45 "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
46 "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
49 :kernel_scheduler_tune => {
50 :comment => "Tune kernel scheduler preempt",
52 "kernel.sched_min_granularity_ns" => 10000000,
53 "kernel.sched_wakeup_granularity_ns" => 15000000
57 :comment => "Reduce swap usage",
62 :network_conntrack_time_wait => {
63 :comment => "Only track completed connections for 30 seconds",
65 "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30"
68 :network_conntrack_max => {
69 :comment => "Increase max number of connections tracked",
71 "net.netfilter.nf_conntrack_max" => "131072"
78 "recipe[nominatim::default]"