Merge "Set the max user watches to 1M"
This commit is contained in:
commit
be70a2078c
@ -54,7 +54,7 @@
|
|||||||
elastic_heap_size_default: "{{ _elastic_heap_size_default }}"
|
elastic_heap_size_default: "{{ _elastic_heap_size_default }}"
|
||||||
elastic_log_rotate_path: "/var/log/{{ service_name }}"
|
elastic_log_rotate_path: "/var/log/{{ service_name }}"
|
||||||
|
|
||||||
- name: Configure systcl vm.max_map_count=262144 on container hosts
|
- name: Configure systcl vm.max_map_count=262144 on elastic hosts
|
||||||
sysctl:
|
sysctl:
|
||||||
name: "vm.max_map_count"
|
name: "vm.max_map_count"
|
||||||
value: "262144"
|
value: "262144"
|
||||||
@ -64,6 +64,16 @@
|
|||||||
tags:
|
tags:
|
||||||
- sysctl
|
- sysctl
|
||||||
|
|
||||||
|
- name: Configure systcl fs.inotify.max_user_watches=1048576 on elastic hosts
|
||||||
|
sysctl:
|
||||||
|
name: "fs.inotify.max_user_watches"
|
||||||
|
value: "1048576"
|
||||||
|
state: "present"
|
||||||
|
reload: "yes"
|
||||||
|
delegate_to: "{{ physical_host }}"
|
||||||
|
tags:
|
||||||
|
- sysctl
|
||||||
|
|
||||||
- name: Physical host block
|
- name: Physical host block
|
||||||
block:
|
block:
|
||||||
- name: Check for directory
|
- name: Check for directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user