elastic / elastic/logstash

Log Warnings if GC Starts Taking up a Large Fraction of CPU Time?

Open
#7,801 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.