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

ODFE: Switch to Garbage-First Garbage Collector (G1GC) #1718

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

rafzei
Copy link
Contributor

@rafzei rafzei commented Oct 1, 2020

No description provided.

@rafzei rafzei marked this pull request as ready for review October 2, 2020 14:23
@rafzei
Copy link
Contributor Author

rafzei commented Oct 2, 2020

/azp run

@rafzei rafzei changed the title Switch to Garbage-First Garbage Collector (G1GC) ODFE: Switch to Garbage-First Garbage Collector (G1GC) Oct 5, 2020
Copy link
Contributor

@atsikham atsikham left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor Author

@rafzei rafzei Oct 6, 2020

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).

@rafzei rafzei requested a review from atsikham October 6, 2020 06:29
Copy link
Contributor

@atsikham atsikham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

3 participants