Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[elasticsearch][kibana] disable nss dentry cache #818

Merged
merged 2 commits into from Sep 30, 2020

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Sep 23, 2020

This PR disable nss dentry cache for Elasticsearch and Kibana
readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Elasticsearch and Kibana Docker images are based on CentOS 7 which
is using nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This PR disable nss dentry cache in readinessProbe as a
workaround.

Related to elastic/cloud-on-k8s#1716

This commit disable nss dentry cache for readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Elasticsearch Docker images are based on CentOS 7 which is using
nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This commit disable nss dentry cache in readinessProbe as a
workaround.
This commit disable nss dentry cache for readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Kibana Docker images are based on CentOS 7 which is using
nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This commit disable nss dentry cache in readinessProbe as a
workaround.
@jmlrt jmlrt added bug Something isn't working elasticsearch kibana labels Sep 23, 2020
@jmlrt jmlrt requested a review from a team September 23, 2020 13:23
Copy link
Contributor

@Conky5 Conky5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@mgreau mgreau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmlrt jmlrt merged commit 3957811 into elastic:master Sep 30, 2020
@jmlrt jmlrt deleted the sdh-nss-sdb-use-cache branch September 30, 2020 07:43
jmlrt added a commit that referenced this pull request Sep 30, 2020
This PR disable nss dentry cache for Elasticsearch and Kibana
readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Elasticsearch and Kibana Docker images are based on CentOS 7 which
is using nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This PR disable nss dentry cache in readinessProbe as a
workaround.
jmlrt added a commit that referenced this pull request Sep 30, 2020
This PR disable nss dentry cache for Elasticsearch and Kibana
readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Elasticsearch and Kibana Docker images are based on CentOS 7 which
is using nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This PR disable nss dentry cache in readinessProbe as a
workaround.
jmlrt added a commit that referenced this pull request Sep 30, 2020
This PR disable nss dentry cache for Elasticsearch and Kibana
readinessProbe.

On affected system (nss < 3.52), the curl commands used by
readinessProbe are filling dentry cache which is observed in some
cases to be never reclaimed.

Elasticsearch and Kibana Docker images are based on CentOS 7 which
is using nss-3.44.0-7.el7_7.x86_64 and are affected by this bug.

This PR disable nss dentry cache in readinessProbe as a
workaround.
@jmlrt
Copy link
Member Author

jmlrt commented Sep 30, 2020

backported to 6.8, 7.9 and 7.x branches

This was referenced Oct 19, 2020
@jmlrt jmlrt mentioned this pull request Oct 28, 2020
This was referenced Nov 17, 2020
@jmlrt jmlrt mentioned this pull request Nov 23, 2020
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
This was referenced Mar 15, 2021
@jmlrt jmlrt mentioned this pull request May 25, 2021
@jmlrt jmlrt mentioned this pull request Mar 8, 2022
@jmlrt jmlrt mentioned this pull request Apr 21, 2022
This was referenced Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants