Skip to main content

Kasten Kickstart Part 10: Too Many Files Open!

  • December 30, 2025
  • 1 comment
  • 20 views

Geoff Burke
Forum|alt.badge.img+22

For today decided to dedicate a quick vlog on this issue that I run into once in awhile fix and forget instead of just changing the default settings right from the start. Hopefully, now I will start doing that.

The problem is a Linux one and not necessarily a problem but simply that I am hitting certain thresholds in a default Linux installation. I have loaded a lot onto a single OS so this is to be expected. You may see similar problems with very busy databases and other workloads.

Going to add in the fixes here on top of providing a github link in the future. 

Note these settings can vary but these are the ones that worked for me:

cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes.conf

fs.inotify.max_user_watches=524288
fs.inotify.max_user_instances=512
fs.inotify.max_queued_events=32768

fs.file-max=2097152


vm.max_map_count=262144


EOF

# You can either reboot or apply immediately with the command below:
sudo sysctl -p /etc/sysctl.d/99-kubernetes.conf

 

 

1 comment

michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • December 31, 2025

Great stuff Geoff, been following along while on annual leave. 
 

I think we take for granted how much has been learnt when it comes to Kubernetes and also the surrounding ecosystem. This video in particular talking about Linux knowledge. 
 

I may have to get back into my “project pace” project which uses minikube, the issue I had with minikube were the addons were not working… which was the reason I chose minikube. Maybe it should be K3s…. 
 

keep it going though Geoff, so so many angles you could take this, would love to see ingress, databases,