From 5301f0c20046da4f51e7a5b9408b47abb4b4f622 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 22 Sep 2021 10:53:28 +0300 Subject: [PATCH 1/2] Change memory requirements Running with ClamAV requires atleast 3GB of memory otherwise ClamAV updates fail and fill the disk https://github.com/Mailu/Mailu/issues/470 --- docs/compose/requirements.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/compose/requirements.rst b/docs/compose/requirements.rst index a5fd3d6b..1db200b0 100644 --- a/docs/compose/requirements.rst +++ b/docs/compose/requirements.rst @@ -5,8 +5,8 @@ Hardware considerations ----------------------- You should make sure that your hardware (virtual or physical) is compatible with -the latest Linux kernel. Also, you should have at least 2GB of total memory and -1GB of free memory when running Mailu. +the latest Linux kernel. Also, you should have at least 3GB of total memory and +1GB of free memory/swap when running Mailu. Pick a distribution ------------------- From 3afaeecfbb47a5fb00918a02f14f5f635544c033 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Tue, 23 Nov 2021 21:31:06 +0000 Subject: [PATCH 2/2] Further clarify memory requirements and create newsfragment. --- docs/compose/requirements.rst | 16 ++++++++++++++-- towncrier/newsfragments/470.doc | 4 ++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 towncrier/newsfragments/470.doc diff --git a/docs/compose/requirements.rst b/docs/compose/requirements.rst index 1db200b0..965e24d7 100644 --- a/docs/compose/requirements.rst +++ b/docs/compose/requirements.rst @@ -5,8 +5,20 @@ Hardware considerations ----------------------- You should make sure that your hardware (virtual or physical) is compatible with -the latest Linux kernel. Also, you should have at least 3GB of total memory and -1GB of free memory/swap when running Mailu. +the latest Linux kernel. The minimal required memory and swap are: + +* When using antivirus (clamav): + + * 3GB of memory + + * 1GB of swap + +* When not using antivirus (clamav): + + * 1GB of memory + + * 1GB of swap + Pick a distribution ------------------- diff --git a/towncrier/newsfragments/470.doc b/towncrier/newsfragments/470.doc new file mode 100644 index 00000000..e53ea233 --- /dev/null +++ b/towncrier/newsfragments/470.doc @@ -0,0 +1,4 @@ +Document hardware requirements when using clamav. +Clamav requires **at least** 2GB of memory. +This 2Gb does not entail any other software running on the box. +So in total you require at least 3GB of memory and 1GB swap when antivirus is enabled.