]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-osd: Remove ulimit nofile on container start
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 30 Oct 2019 15:45:44 +0000 (11:45 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 31 Oct 2019 18:42:30 +0000 (14:42 -0400)
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 <dsavinea@redhat.com>
(cherry picked from commit 9a996aef7f79d5018e6999362fd025e9c04c9b3f)

roles/ceph-osd/templates/ceph-osd-run.sh.j2

index 55e2b946c9a612c22feb25b46127fc7c58eff972..0c2cab34864c6022e39d94a2cd628b33720c1a7e 100644 (file)
@@ -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 -%}