diff --git a/discourse.conf b/discourse.conf new file mode 100644 index 0000000..b78b708 --- /dev/null +++ b/discourse.conf @@ -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 \ No newline at end of file