From 5c66801dc7720523a647ea4c3442098dfa1708bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 6 Jan 2015 15:26:44 +0100 Subject: [PATCH] Bump up maximum number of open files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Large cluster will easily reach the default value so we increase it. Signed-off-by: Sébastien Han --- roles/ceph-common/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index bfba063ba..392b107f5 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -56,6 +56,13 @@ state=present sysctl_file=/etc/sysctl.conf +- name: Increase the maximum number of open files + sysctl: > + name="fs.file-max" + value=13211539 + state=present + sysctl_file=/etc/sysctl.conf + - name: Create package directory file: > path={{ ceph_stable_ice_temp_path }}