Skip to content

Commit

Permalink
ISO: Add 50-fs-inotify.conf to increase limits
Browse files Browse the repository at this point in the history
This avoids random failures starting kubevirt VMs like:

    {"component":"virt-handler","level":"error","msg":"Error starting vhost-net device
    plugin","pos":"device_controller.go:70","reason":"failed to creating a fsnotify
    watcher: too many open files","timestamp":"2024-05-06T12:59:30.009620Z"}

Fixes #18831
  • Loading branch information
nirs committed May 7, 2024
1 parent 30e9bc1 commit b30cb3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Avoid failures with kubevirt vms
# /~https://github.com/kubernetes/minikube/issues/18831
fs.inotify.max_user_instances = 8192
fs.inotify.max_user_watches = 65536
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Avoid failures with kubevirt vms
# /~https://github.com/kubernetes/minikube/issues/18831
fs.inotify.max_user_instances = 8192
fs.inotify.max_user_watches = 65536

0 comments on commit b30cb3f

Please sign in to comment.