mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-31 09:20:43 +08:00
inventory / db01: increase memory and cpus and adjust postgresql settings
GIve db01 64gb mem and 24cpus. We have them on that virthost and this host is one of our busiest. Adjust the postgresql params based on what I now know from adjusting db-koji01. This should hopefully improve a number of applications performance. Note that we need a restart/reboot to have the cpu changes and postgres changes take effect. The memory change is already live. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -56,8 +56,8 @@ dbs_to_backup:
|
||||
|
||||
# These are normally group variables, but in this case db servers are often different
|
||||
lvm_size: 500000
|
||||
mem_size: 16384
|
||||
num_cpus: 10
|
||||
mem_size: 65536
|
||||
num_cpus: 24
|
||||
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
|
||||
|
||||
#
|
||||
@@ -72,6 +72,8 @@ nrpe_procs_warn: 800
|
||||
nrpe_procs_crit: 900
|
||||
|
||||
db_backup_dir: ['/backups']
|
||||
shared_buffers: "4GB"
|
||||
effective_cache_size: "1GB"
|
||||
# Should be 0.25 of memory
|
||||
shared_buffers: "16GB"
|
||||
# Should be 0.80 of memory
|
||||
effective_cache_size: "50GB"
|
||||
max_stack_depth: "6MB"
|
||||
|
||||
Reference in New Issue
Block a user