# Error, cannot retrieve cgroups information

**URL:** <https://discuss.elastic.co/t/error-cannot-retrieve-cgroups-information/137428>\
**Category:** Logstash\
**Created:** [June 26, 2018, 12:03pm UTC](https://discuss.elastic.co/t/error-cannot-retrieve-cgroups-information/137428 "2018-06-26T12:03:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sp1thas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sp1thas/32/32695_2.png) [@sp1thas](https://discuss.elastic.co/u/sp1thas)\
**Post date:** [June 26, 2018, 12:03pm UTC](https://discuss.elastic.co/t/error-cannot-retrieve-cgroups-information/137428/1 "2018-06-26T12:03:08Z")

</div>

Hi,  
I'm trying to run logstash using specific config file:  
`$ /usr/share/logstash/bin/logstash --debug -f $HOME/conf.d/conf2.conf --path.settings /etc/logstash`

and I'm getting this error:

```
[2018-06-26T15:00:41,046][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline_id=>"main", :thread=>"#<Thread:0x6556cab@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:247 sleep>"}
[2018-06-26T15:00:45,417][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
[2018-06-26T15:00:45,418][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
[2018-06-26T15:00:45,419][DEBUG][logstash.instrument.periodicpoller.cgroup] Error, cannot retrieve cgroups information {:exception=>"NoMethodError", :message=>"undefined method `[]' for nil:NilClass"}

```

have you any idea about this?

---

<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:** [July 24, 2018, 12:03pm UTC](https://discuss.elastic.co/t/error-cannot-retrieve-cgroups-information/137428/2 "2018-07-24T12:03:12Z")

</div>

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