You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/11 12:15:24 UTC

git commit: updated refs/heads/master to b108648

Repository: cloudstack
Updated Branches:
  refs/heads/master 40f343ff4 -> b108648f6


CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc

This closes #111

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


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

Branch: refs/heads/master
Commit: b108648f651b48cd83c4399a59ccc1402ca3abc1
Parents: 40f343f
Author: Star Guo <gh...@gmail.com>
Authored: Wed Mar 11 17:50:39 2015 +0800
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Mar 11 16:45:05 2015 +0530

----------------------------------------------------------------------
 packaging/centos7/cloud-agent.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b108648f/packaging/centos7/cloud-agent.rc
----------------------------------------------------------------------
diff --git a/packaging/centos7/cloud-agent.rc b/packaging/centos7/cloud-agent.rc
index 1f371e9..6cc6abc 100755
--- a/packaging/centos7/cloud-agent.rc
+++ b/packaging/centos7/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 -Xms256m -Xmx2048m -cp "$CLASSPATH" -pidfile "$PIDFILE" \
             -errfile $LOGDIR/cloudstack-agent.err -outfile $LOGDIR/cloudstack-agent.out $CLASS
         RETVAL=$?
         echo