From 9f30fe18e839f5846c90e3b5995171a0132d7f3a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 26 Jan 2016 08:43:15 -0500 Subject: [PATCH] upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through Signed-off-by: Sage Weil (cherry picked from commit a95a3d34cccb9f9f0782a96ca05e5fe9c2b01772) --- src/upstart/ceph-osd.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/upstart/ceph-osd.conf b/src/upstart/ceph-osd.conf index 2438c206f292..76d901694625 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 +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 +end script -- 2.47.3