2 description "Role applied to all nominatim servers."
7 :lonvia => { :status => :administrator },
8 :twain => { :status => :administrator },
11 :members => [:lonvia, :tomh, :twain]
22 :max_request_workers => 1600,
23 :threads_per_child => 50,
24 :min_spare_threads => 125,
25 :max_spare_threads => 925
29 :sources => ["postgresql"]
34 :max_connections => "450",
35 :synchronous_commit => "off",
36 :checkpoint_segments => "32",
37 :checkpoint_timeout => "10min",
38 :checkpoint_completion_target => "0.9",
39 :shared_buffers => "2GB",
40 :autovacuum_max_workers => "1"
46 :comment => "Increase shared memory for postgres",
48 "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
49 "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
52 :kernel_scheduler_tune => {
53 :comment => "Tune kernel scheduler preempt",
55 "kernel.sched_min_granularity_ns" => 10000000,
56 "kernel.sched_wakeup_granularity_ns" => 15000000
60 :comment => "Reduce swap usage",
65 :network_conntrack_time_wait => {
66 :comment => "Only track completed connections for 30 seconds",
68 "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30"
71 :network_conntrack_max => {
72 :comment => "Increase max number of connections tracked",
74 "net.netfilter.nf_conntrack_max" => "131072"
81 "recipe[nominatim::default]"