From c12ce1ab1f0db00c299012bb489da8aabfe451f5 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 8 Dec 2020 17:49:48 +0100
Subject: [PATCH] matrix: Reduce postgres_maintenance_work_mem

Still seeing PostgreSQL session processes eating over 600M of private
memory. What's going on?
---
 playbooks/matrix.archlinux.org.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/matrix.archlinux.org.yml b/playbooks/matrix.archlinux.org.yml
index 96ba38626..34ed0114c 100644
--- a/playbooks/matrix.archlinux.org.yml
+++ b/playbooks/matrix.archlinux.org.yml
@@ -16,7 +16,7 @@
     - role: postgres
       postgres_shared_buffers: 1GB
       postgres_work_mem: 32MB
-      postgres_maintenance_work_mem: 256MB
+      postgres_maintenance_work_mem: 32MB
       postgres_effective_cache_size: 2GB
     - role: postfix
       postfix_relayhost: "mail.archlinux.org"
-- 
GitLab