# Bootstrap failed with exit code 128

**URL:** <https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873>\
**Category:** Self-hosting\
**Created:** [July 11, 2025, 12:39pm UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873 "2025-07-11T12:39:12Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Post date:** [July 23, 2025, 12:35pm UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873/29 "2025-07-23T12:35:05Z")

</div>

the single-session output on running your lines is

```plaintext
Last login: Wed Jul 23 13:16:35 2025
root@ubuntu:~# echo "/swapfile swap swap auto 0 0" | tee -a /etc/fstab
/swapfile swap swap auto 0 0
root@ubuntu:~# sysctl -w vm.swappiness=10
vm.swappiness = 10
root@ubuntu:~# echo 'vm.swappiness = 10' > /etc/sysctl.d/30-discourse-swap.conf
root@ubuntu:~# free -h
               total used free shared buff/cache available
Mem: 7.7Gi 3.0Gi 389Mi 671Mi 4.3Gi 3.7Gi
Swap: 0B 0B 0B
root@ubuntu:~#

```

i then ran `reboot` in a VNC, and `free -h` returned the desired 2GB of Swap space 🙂

---

_[View the full topic](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873)._
