mirror of https://github.com/ceph/ceph-ansible.git
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 <dsavinea@redhat.com>pull/4702/head
parent
41b8c17356
commit
9a996aef7f
|
@ -17,7 +17,6 @@ numactl \
|
||||||
--privileged=true \
|
--privileged=true \
|
||||||
--pid=host \
|
--pid=host \
|
||||||
--ipc=host \
|
--ipc=host \
|
||||||
--ulimit nofile=1024:4096 \
|
|
||||||
{% if osd_objectstore == 'filestore' -%}
|
{% if osd_objectstore == 'filestore' -%}
|
||||||
--memory={{ ceph_osd_docker_memory_limit }} \
|
--memory={{ ceph_osd_docker_memory_limit }} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
Loading…
Reference in New Issue