From 925a455e0199a5204299f6a7dfb8660408e5f384 Mon Sep 17 00:00:00 2001 From: Julien Leduc <julien.leduc@cern.ch> Date: Wed, 23 Aug 2017 12:03:54 +0200 Subject: [PATCH] using jemalloc for EOS processes as specified in it-puppet-module-eos --- .../docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh index 9270852fbe..cba83c9f5a 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh @@ -115,6 +115,14 @@ echo echo "Limits summary for user daemon:" sudo -u daemon bash -c 'ulimit -a' +# Using jemalloc as specified in +# it-puppet-module-eos: +# code/templates/etc_sysconfig_mgm.erb +# code/templates/etc_sysconfig_mgm_env.erb +# code/templates/etc_sysconfig_fst.erb +# code/templates/etc_sysconfig_fst_env.erb +test -e /usr/lib64/libjemalloc.so.1 && echo "Using jemalloc for EOS processes" +test -e /usr/lib64/libjemalloc.so.1 && export LD_PRELOAD=/usr/lib64/libjemalloc.so.1 # start and setup eos for xrdcp to the ${CTA_TEST_DIR} #/etc/init.d/eos start -- GitLab