Repository: cloudstack Updated Branches: refs/heads/master 5fa7801b2 -> 7884c750a
CLOUDSTACK-7951 Limit amount of memory used by cloudstack-agent jsvc. Signed-off-by: Edison Su <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7884c750 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7884c750 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7884c750 Branch: refs/heads/master Commit: 7884c750a205fa8962de4ac65960a9f514770817 Parents: 5fa7801 Author: Keiichi Yusa <[email protected]> Authored: Thu Nov 20 17:16:01 2014 +0900 Committer: Edison Su <[email protected]> Committed: Thu Nov 20 10:19:57 2014 -0800 ---------------------------------------------------------------------- packaging/centos63/cloud-agent.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7884c750/packaging/centos63/cloud-agent.rc ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud-agent.rc b/packaging/centos63/cloud-agent.rc index 1f371e9..cf9f661 100755 --- a/packaging/centos63/cloud-agent.rc +++ b/packaging/centos63/cloud-agent.rc @@ -64,7 +64,7 @@ export CLASSPATH="/usr/share/java/commons-daemon.jar:$ACP:$PCP:/etc/cloudstack/a start() { echo -n $"Starting $PROGNAME: " if hostname --fqdn >/dev/null 2>&1 ; then - $JSVC -cp "$CLASSPATH" -pidfile "$PIDFILE" \ + $JSVC -Xms1024m -Xmx2048m -cp "$CLASSPATH" -pidfile "$PIDFILE" \ -errfile $LOGDIR/cloudstack-agent.err -outfile $LOGDIR/cloudstack-agent.out $CLASS RETVAL=$? echo
