guys, I really need help. I've researched a lot on the internet but I couldn't help myself.
I have an ELK stack with an elasticsearch 6.5 server, running for 3 years. lately i have had a lot of problem with ingesting data from logstash to elastic, it has errors.
the server has 64gb of ram and elastic heapsize is 48gb.
in my elasticseach.log file I have the following error:
[2021-07-02T11:25:29,501][INFO ][o.e.m.j.JvmGcMonitorService] [jRaE4Ys] [gc][1548814] overhead, spent [278ms] collecting in the last [1s]
[2021-07-02T11:25:32,548][INFO ][o.e.m.j.JvmGcMonitorService] [jRaE4Ys] [gc][1548817] overhead, spent [284ms] collecting in the last [1s]
it occurs every second
in my GC garbage collector log, I get this error:
: 991400K->87772K(996800K), 0.0555702 secs] 28322834K->27477579K(50220928K), 0.0558269 secs] [Times: user=0.58 sys=0.00, real=0.05 secs]
2021-07-02T11:28:04.998-0300: 1564168.407: Total time for which application threads were stopped: 0.0615021 seconds, Stopping threads took: 0.0026259 seconds
2021-07-02T11:28:05.350-0300: 1564168.759: [GC (Allocation Failure) 2021-07-02T11:28:05.350-0300: 1564168.759: [ParNew
Desired survivor size 56688640 bytes, new threshold 1 (max 6)
- age 1: 64528552 bytes, 64528552 total
- age 2: 45103376 bytes, 109631928 total
: 973852K->110720K(996800K), 0.0488516 secs] 28363659K->27510347K(50220928K), 0.0491062 secs] [Times: user=0.59 sys=0.00, real=0.05 secs]
2021-07-02T11:28:05.399-0300: 1564168.808: Total time for which application threads were stopped: 0.0529833 seconds, Stopping threads took: 0.0004834 seconds
2021-07-02T11:28:05.702-0300: 1564169.112: [GC (Allocation Failure) 2021-07-02T11:28:05.702-0300: 1564169.112: [ParNew
Desired survivor size 56688640 bytes, new threshold 1 (max 6)
consulting the monitoring of the kibana, the jvm heapsize of the elastic is always close to 38gb, with a good margin up to the 48gb available.
I need a light, thanks for any tips.

