Add discourse conf
Mandatory Signed-off-by: CHEF-KOCH <chef-koch@protonmail.com>
This commit is contained in:
parent
33867beeec
commit
2aa3a10e1b
5
discourse.conf
Normal file
5
discourse.conf
Normal 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
|
Loading…
x
Reference in New Issue
Block a user