From 0843159fb4dab78c37003c3a5e0a84f801619820 Mon Sep 17 00:00:00 2001 From: yodax Date: Mon, 22 Feb 2016 17:38:30 +0100 Subject: [PATCH 1/2] Reduce number of processes in the pool to 5 --- management/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/daemon.py b/management/daemon.py index 1099a596..6de0a59a 100755 --- a/management/daemon.py +++ b/management/daemon.py @@ -15,7 +15,7 @@ from mailconfig import get_mail_aliases, get_mail_aliases_ex, get_mail_domains, # live across http requests so we don't baloon the system with # processes. import multiprocessing.pool -pool = multiprocessing.pool.Pool(processes=10) +pool = multiprocessing.pool.Pool(processes=5) env = utils.load_environment() From a2e6e8169710f477a87e0560ff1a8d10f9940e68 Mon Sep 17 00:00:00 2001 From: yodax Date: Mon, 22 Feb 2016 19:14:46 +0100 Subject: [PATCH 2/2] Add a changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9af2c3ca..b89ba32e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ System: * On low-usage systems, don't hold backups for quite so long by taking a full backup more often. * Nightly status checks might fail if any domains had non-ASCII characters. * If domains need a TLS certificate and the user hasn't installed one yet using Let's Encrypt, the administrator would get a nightly email with weird interactive text asking them to agree to Let's Encrypt's ToS. Now just say that the provisioning can't be done automatically. +* Reduce the number of background processes used by the management daemon to lower memory consumption Setup: