You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/09/21 21:48:57 UTC
[03/10] git commit: Add support for c3.xlarge.
Add support for c3.xlarge.
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/9838be03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/9838be03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/9838be03
Branch: refs/heads/two-dot-o
Commit: 9838be03095a0c63d85f38793282eab77e8f672f
Parents: 2d49afa
Author: Dave Johnson <dm...@apigee.com>
Authored: Sat Sep 20 17:27:13 2014 -0400
Committer: Dave Johnson <dm...@apigee.com>
Committed: Sat Sep 20 17:27:13 2014 -0400
----------------------------------------------------------------------
.../awscluster/src/main/dist/init_instance/init_rest_server.sh | 5 +++++
.../src/main/dist/init_instance/install_elasticsearch.sh | 4 ++++
2 files changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/9838be03/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
index 2b03477..46865a4 100644
--- a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
+++ b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
@@ -84,6 +84,11 @@ case `(curl http://169.254.169.254/latest/meta-data/instance-type)` in
export TOMCAT_RAM=10500m
export TOMCAT_THREADS=3300
;;
+'c3.xlarge' )
+ # total of 7.5g
+ export TOMCAT_RAM=5250m
+ export TOMCAT_THREADS=2000
+;;
'c3.2xlarge' )
# total of 15g
export TOMCAT_RAM=10500m
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/9838be03/stack/awscluster/src/main/dist/init_instance/install_elasticsearch.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/install_elasticsearch.sh b/stack/awscluster/src/main/dist/init_instance/install_elasticsearch.sh
index 540aeca..dc7ee8f 100644
--- a/stack/awscluster/src/main/dist/init_instance/install_elasticsearch.sh
+++ b/stack/awscluster/src/main/dist/init_instance/install_elasticsearch.sh
@@ -68,6 +68,10 @@ case `(curl http://169.254.169.254/latest/meta-data/instance-type)` in
# total of 15g
export ES_HEAP_SIZE=7500m
;;
+'c3.xlarge' )
+ # total of 7.5g
+ export ES_HEAP_SIZE=3500m
+;;
'c3.2xlarge' )
# total of 15g
export ES_HEAP_SIZE=7500m