Is there an ES API where I can check java settings?


(Praetor) #1

Was trying to google ES settings to see if I can find out if ElasticSearch did indeed pick up the correct jvm.options but couldn't find an answer : What would be the easiest way to look at the elasticsearch JVM settings once ElasticSearch is up?


(Loren Siebert) #2

The logs will show this. E.g.,

[2018-02-23T15:12:40,500][INFO ][o.e.e.NodeEnvironment    ] [-9yI1ZJ] heap size [2.9gb], compressed ordinary object pointers [true]
[2018-02-23T15:12:40,775][INFO ][o.e.n.Node               ] version[6.1.1], pid[643], build[bd92e7f/2017-12-17T20:23:25.338Z], OS[Mac OS X/10.13.3/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_112/25.112-b16]
[2018-02-23T15:12:40,775][INFO ][o.e.n.Node               ] JVM arguments [-Xms3g, -Xmx3g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/usr/local/Cellar/elasticsearch/6.1.1/libexec, -Des.path.conf=/usr/local/etc/elasticsearch]

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.