Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to manually set LimitNOFILE in the containerd service file #718

Open
playworker opened this issue Oct 8, 2024 · 1 comment
Open

Comments

@playworker
Copy link

Summary

I think it's related to this issue from 2019: containerd/containerd#3201

I had some issues with both Kasten and Cilium pods reporting Too Many Open Files, when checking in a running pod the limit was showing as 1024, in order to increase this I needed to manually add an override for the snap.k8s.containerd service file and add the line LimitNOFILE=1048576 to the [Service] section.

What Should Happen Instead?

I feel like maybe this should be included in the default service file, Cilium seems to need this and that seems to be the chosen CNI. Apologies if I've misunderstood something though :)

Reproduction Steps

  1. Bootstrap a cluster
  2. Add some workloads
  3. Monitor Cilium pods for errors

System information

n/a

Can you suggest a fix?

No response

Are you interested in contributing with a fix?

No response

@berkayoz
Copy link
Member

Hey @playworker,

Thank you for reporting this issue. I haven't seen anything related to Cilium specifically requiring this option or causing issues related to this. Could this be related to the workload that might exhausting the limit here?

We'll check upstream defaults/recommendation and adjust this accordingly if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants