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 => 2400,
23 :threads_per_child => 50,
24 :min_spare_threads => 125,
25 :max_spare_threads => 925,
26 :async_request_worker_factor => 4,
27 :listen_cores_buckets_ratio => 6
31 :sources => ["postgresql"]
35 :http_rate_limit => "s:2/sec:15"
41 :max_connections => "450",
42 :synchronous_commit => "off",
43 :checkpoint_segments => "32",
44 :checkpoint_timeout => "10min",
45 :checkpoint_completion_target => "0.9",
46 :shared_buffers => "2GB",
47 :autovacuum_max_workers => "1"
53 :comment => "Increase shared memory for postgres",
55 "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
56 "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
59 :kernel_scheduler_tune => {
60 :comment => "Tune kernel scheduler preempt",
62 "kernel.sched_min_granularity_ns" => 10000000,
63 "kernel.sched_wakeup_granularity_ns" => 15000000
67 :comment => "Reduce swap usage",
72 :network_conntrack_time_wait => {
73 :comment => "Only track completed connections for 30 seconds",
75 "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30"
78 :network_conntrack_max => {
79 :comment => "Increase max number of connections tracked",
81 "net.netfilter.nf_conntrack_max" => "131072"
88 "recipe[nominatim::default]"