# Userspace sometimes unrecoverably hangs on high disk usage

**URL:** https://discourse.nixos.org/t/userspace-sometimes-unrecoverably-hangs-on-high-disk-usage/79035
**Category:** Help
**Created:** [July 18, 2026, 5:16pm UTC](https://discourse.nixos.org/t/userspace-sometimes-unrecoverably-hangs-on-high-disk-usage/79035 "2026-07-18T17:16:25Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![banaantje](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/7bcc69/32.png) [@banaantje](https://discourse.nixos.org/u/banaantje)
#### Post date: [November 24, 2026, 12:47am UTC](https://discourse.nixos.org/t/userspace-sometimes-unrecoverably-hangs-on-high-disk-usage/79035/6 "2026-11-24T00:47:51Z")

</div>

Making a small update here. I finally figured out the issue. Early on I discounted swap being the issue as this was happening also before I enabled swap.

[Turns out encrypted swapfiles can be iffy on NixOS.](https://discourse.nixos.org/t/swap-file-on-luks-partition/72234) Disabling the encryption fixed it instantly. It took me an embarrassing amount of time to realise this… I think the reason why I thought it was also happening before I added swap is that I probably used to have OOM issues that were resolved with swap but causing another issue that manifests very similarly.

---

_[View the full topic](https://discourse.nixos.org/t/userspace-sometimes-unrecoverably-hangs-on-high-disk-usage/79035)._
