cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/3] git commit: export MALLOC_ARENA_MAX corrrectly
Date Thu, 14 Aug 2014 21:40:55 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1.0 254df46b1 -> d9eabb3f2


export MALLOC_ARENA_MAX corrrectly

Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-6126


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/efde6ae8
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/efde6ae8
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/efde6ae8

Branch: refs/heads/cassandra-2.1.0
Commit: efde6ae81be455eab31c7a0033d67b6df4e19391
Parents: 74f3204
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Aug 13 13:28:28 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Aug 13 13:28:28 2014 -0500

----------------------------------------------------------------------
 conf/cassandra-env.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/efde6ae8/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index 5e2fb87..c4c8bd5 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -139,7 +139,7 @@ esac
 #HEAP_NEWSIZE="800M"
 
 # Set this to control the amount of arenas per-thread in glibc
-#MALLOC_ARENA_MAX=4
+#export MALLOC_ARENA_MAX=4
 
 if [ "x$MAX_HEAP_SIZE" = "x" ] && [ "x$HEAP_NEWSIZE" = "x" ]; then
     calculate_heap_sizes
@@ -152,7 +152,7 @@ fi
 
 if [ "x$MALLOC_ARENA_MAX" = "x" ]
 then
-    MALLOC_ARENA_MAX=4
+    export MALLOC_ARENA_MAX=4
 fi
 
 # Specifies the default port over which Cassandra will be available for


Mime
View raw message