From c694cdf75f39b17b95ca8e18e13091761461cbc5 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Wed, 31 Oct 2018 08:54:06 +0000 Subject: [PATCH] Increase inotify watch limit If the inotify watch limit is exceeded then systemd is unable to restart services. This can occur during an OSA minor upgrade, and results in dnsmasq unable to restart on all container hosts simultaneously. Change-Id: I77da5d99f0714975c1be025b46bb250712c78ed3 --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 3977d0a5..48ac578c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -88,7 +88,7 @@ openstack_host_nf_conntrack_max: 262144 # System control kernel tuning openstack_kernel_options: - - { key: 'fs.inotify.max_user_watches', value: 36864 } + - { key: 'fs.inotify.max_user_watches', value: 1048576 } - { key: 'net.ipv4.conf.all.rp_filter', value: 0 } - { key: 'net.ipv4.conf.default.rp_filter', value: 0 } - { key: 'net.ipv4.ip_forward', value: 1 }