# MKJ's Opinionated Discourse Deployment Configuration

**URL:** https://meta.discourse.org/t/mkjs-opinionated-discourse-deployment-configuration/193355
**Category:** Sysadmins
**Tags:** explanation, install
**Created:** [June 9, 2021, 11:34pm UTC](https://meta.discourse.org/t/mkjs-opinionated-discourse-deployment-configuration/193355 "2021-06-09T23:34:00Z")
**Posts on this page:** 1
**Showing post:** 43

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [August 7, 2026, 1:46am UTC](https://meta.discourse.org/t/mkjs-opinionated-discourse-deployment-configuration/193355/43 "2026-08-07T01:46:34Z")

</div>

Also thanks to @raykholo for pointing out to me out of band that my instructions for disabling transparent huge pages were quietly wrong.

Anyone tracking this, please use this instead:

```bash
echo 'w /sys/kernel/mm/transparent_hugepage/enabled - - - - never
w /sys/kernel/mm/transparent_hugepage/defrag - - - - never' > /etc/tmpfiles.d/thp.conf
systemd-tmpfiles --create

```

These are not configurable via sysctl, and if you have previously created `/etc/sysctl.d/10-huge-pages.conf` following my earlier instructions, you can delete it.

I didn’t validate that correctly when I wrote it, and I’ve failed to notice ever since that it was not working correctly. Nice catch, and thank you!

---

_[View the full topic](https://meta.discourse.org/t/mkjs-opinionated-discourse-deployment-configuration/193355)._
