Make elasticsearch.maxSockets configurable #119612
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:elasticsearch
good first issue
low hanging fruit
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
performance
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
You can find the full discussion in #112756
TLDR: Kibana since
v7.16
configureshttp.Agent
of the elasticsearch client withmaxSockets: Infinity
to provide compatibility with the legacyelasticsearch client
. In the case of high load, it might lead to growing memory consumption, which is never released later.We can start with making the
agent.maxSockets
property configurable viakibana.yml
to provide a way to deal with growing memory usage due to too many open sockets.The problem can affect users starting from
v7.16
, shouldn't we consider backporting this change tov7.16
?The text was updated successfully, but these errors were encountered: