2 description "Role applied to all nominatim servers. Use for standalone server."
7 :lonvia => { :status => :administrator },
8 :twain => { :status => :administrator },
11 :members => [:lonvia, :tomh, :twain]
22 :threads_per_child => 50
28 :max_connections => "450",
29 :synchronous_commit => "off",
30 :checkpoint_segments => "32",
31 :checkpoint_timeout => "10min",
32 :checkpoint_completion_target => "0.9",
33 :shared_buffers => "2GB",
34 :autovacuum_max_workers => "1"
40 :comment => "Increase shared memory for postgres",
42 "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
43 "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
46 :kernel_scheduler_tune => {
47 :comment => "Tune kernel scheduler preempt",
49 "kernel.sched_min_granularity_ns" => 10000000,
50 "kernel.sched_wakeup_granularity_ns" => 15000000
54 :comment => "Reduce swap usage",
59 :network_conntrack_time_wait => {
60 :comment => "Only track completed connections for 30 seconds",
62 "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30"
65 :network_conntrack_max => {
66 :comment => "Increase max number of connections tracked",
68 "net.netfilter.nf_conntrack_max" => "131072"
75 "recipe[nominatim::default]"