2 description "Role applied to all nominatim servers."
7 :lonvia => { :status => :administrator },
10 :members => [:lonvia, :tomh]
16 :http_rate_limit => "s:2/sec:15"
22 :max_connections => "450",
23 :synchronous_commit => "off",
24 :checkpoint_timeout => "10min",
25 :checkpoint_completion_target => "0.9",
27 :shared_buffers => "2GB",
28 :autovacuum_max_workers => "1",
29 :max_parallel_workers_per_gather => "0",
30 :maintenance_work_mem => "10GB",
31 :seq_page_cost => "3.0",
32 :random_page_cost => "3.0",
33 :effective_cache_size => "60GB",
34 :wal_level => "minimal",
35 :max_wal_senders => "0"
41 :comment => "Increase shared memory for postgres",
43 "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
44 "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
48 :comment => "Reduce swap usage",
53 :network_conntrack_time_wait => {
54 :comment => "Only track completed connections for 30 seconds",
56 "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30"
59 :network_conntrack_max => {
60 :comment => "Increase max number of connections tracked",
62 "net.netfilter.nf_conntrack_max" => "196608"
67 :dbadmins => %w[lonvia tomh],
69 "dosm" => "/ssd/tablespaces/dosm",
70 "iosm" => "/ssd/tablespaces/iosm",
71 "dplace" => "/ssd/tablespaces/dplace",
72 "iplace" => "/ssd/tablespaces/iplace",
73 "daddress" => "/ssd/tablespaces/daddress",
74 "iaddress" => "/ssd/tablespaces/iaddress",
75 "dsearch" => "/ssd/tablespaces/dsearch",
76 "isearch" => "/ssd/tablespaces/isearch",
77 "daux" => "/ssd/tablespaces/daux",
78 "iaux" => "/ssd/tablespaces/iaux"
84 "recipe[nominatim::default]"