Repository navigation
Commit 94de01a
fix: stop "too many open files" warnings on Kubernetes (kubeadm) servers (#663)
* fix: raise inotify limits on kubeadm nodes
Pods' root processes share one per-user inotify budget, and the kernel
default of 128 instances runs out on a node running workloads. Once it
does, a new systemd user manager (started by sudo, for one) fails with
"Too many open files" and broadcasts it to every console. Raise the
instance and watch limits in the kubeadm sysctl drop-in that
containerd.service already applies.
Closes #658
Hive-Run: #658
Hive-Plan: approved-direction on #658
Hive-Spec: server#658#approved-direction
Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
* fix: set inotify watch limit to the kernel ceiling so it never lowers it
Since Linux 5.11 the default max_user_watches scales with RAM (capped at
1048576), so 524288 lowered the limit on nodes with ~60 GB or more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
Co-authored-by: Danathar <Danathar@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 1d820b6 commit 94de01a
3 files changed
Lines changed: 11 additions & 2 deletions
File tree
- docs/skills
- files/kubeadm/sysext
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
0 commit comments