From 08e3b3564f1dfdc5c61498311a5586ba7b729d79 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Mon, 3 Feb 2020 11:22:27 +0100 Subject: [PATCH] Document more JVM arguments --- dist/argeo-node/base/etc/argeo/settings.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dist/argeo-node/base/etc/argeo/settings.sh b/dist/argeo-node/base/etc/argeo/settings.sh index 8141f0495..4bc45f678 100644 --- a/dist/argeo-node/base/etc/argeo/settings.sh +++ b/dist/argeo-node/base/etc/argeo/settings.sh @@ -1,3 +1,12 @@ export LANG=en_US.utf8 JAVA_OPTS="-showversion -Xmx128m" + +# JMX #JAVA_OPTS="-showversion -Xmx512m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7084 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + +# Development +#JAVA_OPTS="-ae -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n -showversion -Xmx512m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7084 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + +# JMX over server tunnel +#JAVA_OPTS="-showversion -Xmx2048m -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.rmi.port=7084 -Dcom.sun.management.jmxremote.port=7084 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" +# and then: ssh root@remote-host -L 7084:127.0.0.1:7084 -N \ No newline at end of file -- 2.30.2