basexserver start

Thursday, 20 August 2015 · 3 messages · last reply 21 Aug 2015
C
cmarchand20 Aug 2015 15:02 #

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

CG
Christian Grün20 Aug 2015 20:18 #

Hi Christophe,

Quoted text · cmarchand · 1 line
> Does BaseXServer is a starter for another JVM ?

It only does if you use the -S flag (Start as service).

Does this help? Christian

C
cmarchand21 Aug 2015 08:34 #

It does ! I was looking at the to see if I could start the daemon with the required parameters...

Thanks a lot !

Christophe

Quoted text · Christian Grün · 9 lines
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

⚡Generated with XQuery