From: Sage Weil Date: Tue, 26 Jan 2016 13:43:15 +0000 (-0500) Subject: upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through X-Git-Tag: v10.0.4~171^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a95a3d34cccb9f9f0782a96ca05e5fe9c2b01772;p=ceph.git upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through Signed-off-by: Sage Weil --- diff --git a/src/upstart/ceph-osd.conf b/src/upstart/ceph-osd.conf index 02ca2389a17b..dfba8d486a39 100644 --- a/src/upstart/ceph-osd.conf +++ b/src/upstart/ceph-osd.conf @@ -22,4 +22,8 @@ instance ${cluster:-ceph}/$id export cluster export id -exec /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f --setuser ceph --setgroup ceph +script + test -f /etc/default/ceph && . /etc/default/ceph + export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES + exec /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f --setuser ceph --setgroup ceph +end script