From 0f307a4ecf322fb0122caa12cd4ee078898eb77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 9 Nov 2016 19:13:41 +0000 Subject: [PATCH] Disabled jemalloc in 2 more Monitor threads --- lib/MySQL_Monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index de2161078..6d64d7e8c 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -278,14 +278,14 @@ void * monitor_ping_pthread(void *arg) { void * monitor_read_only_pthread(void *arg) { bool cache=false; -// mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); + mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); GloMyMon->monitor_read_only(); return NULL; } void * monitor_replication_lag_pthread(void *arg) { bool cache=false; -// mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); + mallctl("thread.tcache.enabled", NULL, NULL, &cache, sizeof(bool)); GloMyMon->monitor_replication_lag(); return NULL; }