-
Notifications
You must be signed in to change notification settings - Fork 107
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
ODFE: Switch to Garbage-First Garbage Collector (G1GC) #1718
Conversation
/azp run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes requested.
@@ -2,8 +2,7 @@ | |||
- name: Install Open Distro for Elasticsearch packages | |||
yum: | |||
name: | |||
- java-1.8.0-openjdk-headless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is JDK installed somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using elasticsearch-oss, no elasitcsearch-oss-no-jdk. JDK is bundled and used by default. I did some briefly checks and it looks like we dont need to install additional java. (During tests it may turn out otherwise)
8:-XX:GCLogFileSize=64m | ||
|
||
# JDK 9+ GC logging | ||
9-:-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add information to the doc or reference somewhere about JVM setting for different JDK versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can provide this information after upgrading ODFE to the latest version (#1719).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.