Skip to content

Commit

Permalink
Increase fs.inotify.max_user_instances sysctl value (#604)
Browse files Browse the repository at this point in the history
Fixes kairos-io/kairos#2071

Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily authored Jan 5, 2024
1 parent a446418 commit 123fbab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/static/kairos-overlay-files/collection.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- name: "kairos-overlay-files"
category: "static"
version: "1.1.18"
version: "1.1.19"
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ stages:
sysctl:
net.core.rmem_max: 2500000
vm.max_map_count: 262144
fs.inotify.max_user_instances: 8192
fs.inotify.max_user_watches: 524288
initramfs:
- name: "Default systemd config"
if: '[ -e "/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ] || [ -e "/usr/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ]'
Expand Down Expand Up @@ -126,4 +128,4 @@ stages:
- ln -sf /etc/systemd/system/cos-setup-reconcile.timer /etc/systemd/system/multi-user.target.wants/cos-setup-reconcile.timer
- ln -sf /etc/systemd/system/cos-setup-fs.service /etc/systemd/system/sysinit.target.wants/cos-setup-fs.service
- ln -sf /etc/systemd/system/cos-setup-boot.service /etc/systemd/system/multi-user.target.wants/cos-setup-boot.service
- ln -sf /etc/systemd/system/cos-setup-network.service /etc/systemd/system/multi-user.target.wants/cos-setup-network.service
- ln -sf /etc/systemd/system/cos-setup-network.service /etc/systemd/system/multi-user.target.wants/cos-setup-network.service

0 comments on commit 123fbab

Please sign in to comment.