https://rancher.com/ logo
#k3s
Title
# k3s
w

white-garden-41931

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:
Copy code
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?
c

creamy-pencil-82913

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… https://github.com/k3s-io/k3s/blob/master/install.sh#L792
1
127 Views