Skip to content

Instantly share code, notes, and snippets.

@c0m4r
Created February 6, 2026 16:15
Show Gist options
  • Select an option

  • Save c0m4r/6309d300443db7e428bc72b2376462e2 to your computer and use it in GitHub Desktop.

Select an option

Save c0m4r/6309d300443db7e428bc72b2376462e2 to your computer and use it in GitHub Desktop.
Disable /tmp being tmpfs and eating your RAM

Disable /tmp being tmpfs and eating your RAM

TL;DR

systemctl mask tmp.mount
reboot

I don't know who came up with this brilliant idea to put /tmp in RAM by default, allocating 50% of the memory to it. Guess some people have nothing better to do and have to make everyone happy by solving a non-existent problem. SMH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment