Log Warnings if GC Starts Taking up a Large Fraction of CPU Time?
Open
discuss
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 19h 14m
- Merged PRs (30d)
- 63
Description
ES starts logging warnings if the GC time exceeds a certain threshold within the last minute.
Maybe we should do the same?
It seems to me that a large fraction of user's performance problems is simply GC related.
Having this in the logs would way reduce the time we spent on analyzing these.
We could even add the suggestion to increase Xmx and Xms to the warning I guess to save some time?
Link #7775
@suyograo @jordansissel what do you think?
Contributor guide
Assessment
This issue has not been assessed yet.