Skip to content

Commit 618d16b

Browse files
committed
ops/debug: other impl of user-space OOM killer
1 parent e896ca5 commit 618d16b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/ops/debug.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ icon: material/bug
116116

117117
思考这个问题:如果某个在容器中的进程错误地向 tmpfs 写入了大量数据导致内存不足,systemd-oomd 可以解决这个问题吗?earlyoom 呢?
118118

119+
还有很多其他的实现,在 [nohang 的 README](https://github.com/hakavlad/nohang?tab=readme-ov-file#solution) 中有相关整理,可以作为参考。
120+
119121
此外,配置 swap 与内存压缩也会对内存不足(高内存压力)的场景有很大帮助,可参考[分区与文件系统](./storage/filesystem.md#:~:text=%E4%BB%80%E4%B9%88%E6%98%AF%20swap)的有关部分。
120122

121123
!!! note "系统无法启动"

0 commit comments

Comments
 (0)