Repository: cloudstack Updated Branches: refs/heads/4.5 66e0f049d -> 1d6ca5eac
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/1d6ca5ea Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1d6ca5ea Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1d6ca5ea Branch: refs/heads/4.5 Commit: 1d6ca5eacb1725cc8485c4564aaf7332682ab5b2 Parents: 66e0f04 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:01 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/1d6ca5ea/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
