Hello, I want to monitor garbage collect on basex server. So, I've modified basexserver as this : BASEX_JVM="-Xmx6144m $BASEX_JVM -Xloggc:/home/basex/logs/79/azul/gc.log.$(date -u +%Y-%m-%d-%H-%M) \ -verbose:gc \ -XX:+PrintGCDateStamps \ -XX:+PrintGCDetails \ -XX:+PrintGCApplicationStoppedTime -javaagent:/usr/local/jHiccup/jHiccup.jar=-d,5000,-i,1000,-s,3,-l,/home/basex/logs/79/azul/hiccuplog,-c" # Run code java -cp "$CP" $BASEX_JVM "${vm_args[@]}" org.basex.BaseXServer "${general_args[@]}" The problem is I have only 2 seconds of monitoring. Does BaseXServer is a starter for another JVM ? How can I activate GC log on basex server ? Thanks in advance, Christophe
It does ! I was looking at the to see if I could start the daemon with the required parameters... Thanks a lot ! Christophe Le 2015-08-20 20:18, Christian Grün a écrit :
Hi Christophe,
Does BaseXServer is a starter for another JVM ?
It only does if you use the -S flag (Start as service).
Does this help? Christian
participants (2)
-
Christian Grün -
cmarchand@oxiane.com