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

Add replay diagnostic dir to system jvm options #103535

Merged
merged 6 commits into from
Feb 6, 2024

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Dec 19, 2023

When hotspot encounters an error, it will emite a log file which can be used for reproducing the error. This file is dumped to /tmp by default. This commit configures the replay file to be alongside the hs_err file.

When hotspot encounters an error, it will emite a log file which can be
used for reproducing the error. This file is dumped to /tmp by default.
This commit configures the replay file to be alongside the hs_err file.
@rjernst rjernst added >enhancement :Core/Infra/CLI CLI utilities, scripts, and infrastructure v8.13.0 labels Dec 19, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Dec 19, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @rjernst, I've created a changelog YAML for you.

@rjernst
Copy link
Member Author

rjernst commented Dec 19, 2023

Note to reviewers: I've intentionally not put this configuration in the same place as hs_err in the jvm.options files. This is because every change to that file can cause conflicts to users installing ES with package managers. Instead, I think we should focus on adding new (and maybe moving existing) options to the SystemJvmOptions.

@rjernst rjernst requested a review from ChrisHegarty December 19, 2023 02:01
Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

Good to capture this file. LGTM

@rjernst rjernst merged commit 2a298a7 into elastic:main Feb 6, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/CLI CLI utilities, scripts, and infrastructure >enhancement Team:Core/Infra Meta label for core/infra team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants