Skip to content

Kibana 7.10.0-SNAPSHOT memory usage leads to OOMKill on ECK #76783

@sebgl

Description

@sebgl

Kibana version: latest 7.10.0-SNAPSHOT, as of September 4 2020

Elasticsearch version: latest 7.10.0-SNAPSHOT, as of September 4 2020

Kibana 7.10.0-SNAPSHOT seems to OOM after a few seconds/minutes on ECK, before it is completely initialized.
ECK sets a default 1Gi memory limit, which does not seem large enough.

On successful runs (with >1Gi memory limit) the memory usage reported by kubectl top pod is in the 950Mi-1200Mi range.
If I set a memory limit of 900Mi, the Pod gets OOMKilled most of the times.

When running the previous version (7.9.0), I see a memory usage in the 700Mi-750Mi range

Is that a potential bug, or is the higher memory usage expected (in which case we can raise ECK's defaults)?

I cannot easily reproduce the OOMKill when using Docker though:docker run --rm --link elasticsearch:elasticsearch -p 5601:5601 -v /tmp/kibana.yml:/usr/share/kibana/config/kibana.yml --memory=700m docker.elastic.co/kibana/kibana:7.10.0-SNAPSHOT. The container does not get OOM killed. But it's not running with the same configuration as ECK's default one.

ECK issue: elastic/cloud-on-k8s#3710
Maybe related: #72987

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Team:OperationsKibana-Operations Teamtriage_needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions