From 27eb40714cfba1743bd2673995bef2189ed89a41 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 30 Oct 2019 11:45:44 -0400 Subject: [PATCH] ceph-osd: Remove ulimit nofile on container start Even if this improves ceph-disk/ceph-volume performances then it also impact the ceph-osd process. The ceph-osd process shouldn't use 1024:4096 value for the max open files. Removing the ulimit option from the container engine and doing this kind of change on the container side [1]. [1] https://github.com/ceph/ceph-container/pull/1497 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1702285 Signed-off-by: Dimitri Savineau (cherry picked from commit 9a996aef7f79d5018e6999362fd025e9c04c9b3f) --- roles/ceph-osd/templates/ceph-osd-run.sh.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 index 55e2b946c..0c2cab348 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -17,7 +17,6 @@ numactl \ --privileged=true \ --pid=host \ --ipc=host \ - --ulimit nofile=1024:4096 \ {% if osd_objectstore == 'filestore' -%} --memory={{ ceph_osd_docker_memory_limit }} \ {% endif -%}