From 43d0edf03603113c97303d13cc83443c02caa257 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Mon, 26 Feb 2024 00:18:31 -0500 Subject: [PATCH] docs: add note about memcached --- docs/INSTALL_LINUX.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/INSTALL_LINUX.md b/docs/INSTALL_LINUX.md index 7b6101d..08054e1 100644 --- a/docs/INSTALL_LINUX.md +++ b/docs/INSTALL_LINUX.md @@ -41,6 +41,22 @@ quit ``` We have now set up our new user, `aime`, created a database called `aime` and given our user all the permissions it needs on every table of that database. +### Configure memcached +Under the file /etc/memcached.conf, please make sure the following parameters are set: + +``` +# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default +# Note that the daemon will grow to this size, but does not start out holding this much +# memory + +-I 128m +-m 1024 +``` + +** This is mandatory to avoid memcached overload caused by Crossbeats or by massive profiles + +Restart memcached using: sudo systemctl restart memcached + ## Getting ARTEMiS ### Clone from gitea use `git clone https://gitea.tendokyu.moe/Hay1tsme/artemis.git` to pull down ARTEMiS into a folder called `artemis` created at wherever your current working directory is. `cd` into `artemis`.