Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized VM option 'UseParNewGC' #11

Open
zicmama opened this issue Sep 15, 2020 · 4 comments
Open

Unrecognized VM option 'UseParNewGC' #11

zicmama opened this issue Sep 15, 2020 · 4 comments

Comments

@zicmama
Copy link

zicmama commented Sep 15, 2020

trying to install

but with on debian buster

sudo apt-get install openjdk-11-jre
./elasticsearch
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Is it because of JRE v11?

@blavenie
Copy link
Member

Is it because of JRE v11?
Probably. You can try:

  • to remove this options, from all Elasticsearch scripts
  • to install a JDK 1.8

Let me know

@blavenie
Copy link
Member

@zicmama Alors ? :)

@zicmama
Copy link
Author

zicmama commented Sep 16, 2020

Yes comment in ./elasticsearch.in.sh

# ES_GC_OPTS="$ES_GC_OPTS -XX:+UseParNewGC"

let it run, do you see it?

else than redirecting output in log file, is there a monitoring port or service?
gchange-pod script can be used to add to INITV or systemd?

@blavenie
Copy link
Member

blavenie commented Oct 6, 2020

else than redirecting output in log file, is there a monitoring port or service?
gchange-pod script can be used to add to INITV or systemd?

Please try to get this info from the ElacticSearch documentation.
Ghange Pod is just a standard ES v2.4 installation...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants