]> git-server-git.apps.pok.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:41 +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 cf4c25fb19fe986c6adaf622564c18c2035c46fc..e92a0a27c8e0a2746cf212826c45bda9f750001f 100644 (file)
@@ -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 -%}