]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rgw: set container memory limit to 4g
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 9 Jul 2020 11:07:32 +0000 (13:07 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 10 Jul 2020 14:10:32 +0000 (10:10 -0400)
This commit changes the container memory limit for rgw daemons.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1707488
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 86edae724f98036ada845a138c7f586df395cd3a)

group_vars/rgws.yml.sample
roles/ceph-rgw/defaults/main.yml

index a3ee9f18df94447babe0cfcb6f113fb5add25e2d..7728d35ae1e5f6bbc0dc9ced524cf545e4d0de20 100644 (file)
@@ -84,7 +84,7 @@ dummy:
 # For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
 # Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
 # These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
-#ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+#ceph_rgw_docker_memory_limit: "4096m"
 #ceph_rgw_docker_cpu_limit: 8
 #ceph_rgw_docker_cpuset_cpus: "0,2,4,6,8,10,12,14,16"
 #ceph_rgw_docker_cpuset_mems: "0"
index ce60be35303e65784420956deb180e44acb56a27..96ffd09c175f842a969d415b2ee4260ea644baa1 100644 (file)
@@ -76,7 +76,7 @@ copy_admin_key: false
 # For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
 # Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
 # These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
-ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+ceph_rgw_docker_memory_limit: "4096m"
 ceph_rgw_docker_cpu_limit: 8
 #ceph_rgw_docker_cpuset_cpus: "0,2,4,6,8,10,12,14,16"
 #ceph_rgw_docker_cpuset_mems: "0"