1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-25 08:43:06 +02:00

matrix.archlinux.org: Reduce PostgreSQL memory usage

It ran out of memory, with Postgres using a lot of RSS.
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-11-10 23:39:34 +01:00
parent a6e49930c4
commit ba1f1a5b11
No known key found for this signature in database
GPG Key ID: 3B94A80E50A477C7

View File

@ -14,10 +14,10 @@
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 1024MB
postgres_shared_buffers: 512MB
postgres_work_mem: 64MB
postgres_maintenance_work_mem: 1GB
postgres_effective_cache_size: 3GB
postgres_maintenance_work_mem: 256MB
postgres_effective_cache_size: 1GB
- role: postfix
postfix_relayhost: "mail.archlinux.org"
- { role: matrix }