Logstash aborts with warning - pass JVM parameters via LS_JAVA_OPTS..Version - 7.0.0

(Itz Chandru ) #1

\IBM\WebSphere was unexpected at this time.

warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitia
tingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=
true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -Djruby.jit.thresh
old=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:/dev/urandom ; pa
ss JVM parameters via LS_JAVA_OPTS

(Staale) #2

Check you environment variables. You prolly have a JAVA_OPTS, which should be LS_JAVA_OPTS. Look in the logstash.bat file what it sets. And if your environment has JAVA_OPTS set remove it.

(Itz Chandru ) #3

I don't have JAVA_OPTS set in my environment variable..Not sure where it fails..

(Itz Chandru ) #4

Can someone please help on this?

(Itz Chandru ) #5

\IBM\WebSphere was unexpected at this time.

ALso i get this error sometime..Searched on forum about this and found this - https://github.com/elastic/logstash/issues/5357....It look like some bat file is not accepting the path variable set with (x86) version..