Add discourse conf

Mandatory

Signed-off-by: CHEF-KOCH <chef-koch@protonmail.com>
This commit is contained in:
CHEF-KOCH 2025-03-16 13:59:06 +01:00
parent 33867beeec
commit 2aa3a10e1b

5
discourse.conf Normal file
View File

@ -0,0 +1,5 @@
## Discourse needs hugepage and vm_overcommit_memory
echo 'sys.kernel.mm.transparent_hugepage.enabled=never' > /etc/sysctl.d/10-huge-pages.conf
echo 'vm.overcommit_memory=1' > /etc/sysctl.d/90-vm_overcommit_memory.conf
sysctl --system