You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2014/08/13 20:30:13 UTC
[3/7] git commit: export MALLOC_ARENA_MAX corrrectly
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/trunk
Commit: efde6ae81be455eab31c7a0033d67b6df4e19391
Parents: 74f3204
Author: Brandon Williams <br...@apache.org>
Authored: Wed Aug 13 13:28:28 2014 -0500
Committer: Brandon Williams <br...@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