# Metricbeat - error getting group status: open /proc/\<PID\>/cgroup

**URL:** <https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 15, 2021, 7:53pm UTC](https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355 "2021-02-15T19:53:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anoopkv](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anoopkv](https://discuss.elastic.co/u/anoopkv)\
**Post date:** [February 15, 2021, 7:53pm UTC](https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355/1 "2021-02-15T19:53:45Z")

</div>

I have an ELK stack setup in a K8s cluster with security enabled. All components are working fine

Installed metricbeat and kube-state-metrics using helm charts, and the containers are not starting, and i see the following error when i describe the pod

> Readiness probe errored: rpc error: code = DeadlineExceeded desc = failed to exec in container: timeout 5s exceeded: context deadline exceeded

and i see the following error in logs

> getting group status: open /proc/[PID]/cgroup: no such file or directory

[Similar question raised here](https://discuss.elastic.co/t/metricbeat-k8s-error-getting-group-status-open-proc-pid-cgroup/255371) , but dont see any solutions to the issue

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [February 16, 2021, 11:43am UTC](https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355/2 "2021-02-16T11:43:48Z")

</div>

It seems a fix was already merged in master and it will be released soon (if not already) [Monitoring: allow specifying /proc or hostfs path. · Issue #23267 · elastic/beats · GitHub](https://github.com/elastic/beats/issues/23267)

---

<div class="post-metadata">

**Author:** ![anoopkv](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anoopkv](https://discuss.elastic.co/u/anoopkv)\
**Post date:** [March 3, 2021, 6:34am UTC](https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355/3 "2021-03-03T06:34:21Z")

</div>

I am working on the latest version of metricbeat - Version:  
7.11.1

One thing of interest I noticed. Of the three nodes in my cluster, I get this error only from one node !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 31, 2021, 8:35am UTC](https://discuss.elastic.co/t/metricbeat-error-getting-group-status-open-proc-pid-cgroup/264355/4 "2021-03-31T08:35:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
