03/14/2023, 12:29 AM
I haven't seen this reported before...running k3s 1.25.4+k3s1 on Fedora 36 I get an error:
2023/03/03 00:09:28 Starting NATS Server Reloader v0.7.4
Error: too many open files
Stream closed EOF for testkube/testkube-nats-0 (reloader)
which prevents one of my pods (testkube/testkube-nats-0) from starting. and I'm not sure if that is specific to k3s or upstream Kubernetes. Is this a known issue or should I investigate more deeply?


03/14/2023, 12:33 AM
I would probably check the ulimit settings on your node. You might need to raise the maximum number of open file descriptors (
ulimit -n
The systemd unit that the k3s installer generates already has a pretty high limit though, so if you’re hitting that, something else might be going on…