Blame SOURCES/0033-Ticket-48950-Change-example-in-etc-sysconfig-dirsrv-.patch

7c7f29
From cb23f2f29464f9f800a4cf1f1e3d48e0c66358c7 Mon Sep 17 00:00:00 2001
7c7f29
From: Mark Reynolds <mreynolds@redhat.com>
7c7f29
Date: Thu, 11 Aug 2016 10:50:02 -0400
7c7f29
Subject: [PATCH 33/35] Ticket 48950 - Change example in /etc/sysconfig/dirsrv
7c7f29
 to use tcmalloc
7c7f29
7c7f29
Description:  Update the example to use tcmalloc instead of jemalloc.
7c7f29
7c7f29
https://fedorahosted.org/389/ticket/48950
7c7f29
7c7f29
Reviewed by: nhosoi(Thanks!)
7c7f29
7c7f29
(cherry picked from commit 06a4adb4ad42a2d7cee383d6e2ef69a7188251a2)
7c7f29
---
7c7f29
 ldap/admin/src/base-initconfig.in | 10 +++++-----
7c7f29
 1 file changed, 5 insertions(+), 5 deletions(-)
7c7f29
7c7f29
diff --git a/ldap/admin/src/base-initconfig.in b/ldap/admin/src/base-initconfig.in
7c7f29
index e803a36..0481c3e 100644
7c7f29
--- a/ldap/admin/src/base-initconfig.in
7c7f29
+++ b/ldap/admin/src/base-initconfig.in
7c7f29
@@ -43,8 +43,8 @@
7c7f29
 # if using systemd, omit the "; export VARNAME" at the end
7c7f29
 #PID_TIME=600 ; export PID_TIME
7c7f29
 
7c7f29
-# jemalloc is a general purpose malloc implementation that emphasizes
7c7f29
-# fragmentation avoidance and scalable concurrency support.  jemalloc
7c7f29
-# has been shown to have a significant positive impact on the Directory
7c7f29
-# Server's process size/growth.
7c7f29
-#LD_PRELOAD=@libdir@/@package_name@/libjemalloc.so.1 ; export LD_PRELOAD
7c7f29
+# The tcmalloc memory allocator has been shown to have a positive impact on
7c7f29
+# the Directory Server's virtual & resident memory size/growth.  tcmalloc is
7c7f29
+# available on RHEL/Fedora in the gperftools package (this could be different
7c7f29
+# on other platforms).  Here is an example of preloading tcmalloc:
7c7f29
+#LD_PRELOAD=@libdir@/libtcmalloc.so.4 ; export LD_PRELOAD
7c7f29
-- 
7c7f29
2.4.11
7c7f29