From 4cd53bfbe5e9e7dcbf9d588cb6b40e123de95508 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 cf4c25fb1..e92a0a27c 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -94,7 +94,6 @@ numactl \ --privileged=true \ --pid=host \ --ipc=host \ - --ulimit nofile=1024:4096 \ {% if osd_objectstore == 'filestore' -%} --memory={{ ceph_osd_docker_memory_limit }} \ {% endif -%} -- 2.39.5