# ERR Unknown state \<41\> for process with pid 31139

**URL:** <https://discuss.elastic.co/t/err-unknown-state-41-for-process-with-pid-31139/110069>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 3, 2017, 6:53pm UTC](https://discuss.elastic.co/t/err-unknown-state-41-for-process-with-pid-31139/110069 "2017-12-03T18:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [December 3, 2017, 6:53pm UTC](https://discuss.elastic.co/t/err-unknown-state-41-for-process-with-pid-31139/110069/1 "2017-12-03T18:53:23Z")

</div>

I'm using Metricbeat 6.0 on Debian 9 (stretch) and I toggled _redis.disabled_ in _modules.d_ sub directory and adjusted hosts variable, followed by restarting metricbeat.service and now I'm seeing following error

```
root@app11:/etc/metricbeat/modules.d# tail -1 /var/log/metricbeat/metricbeat
2017-12-03T18:48:29Z ERR Unknown state <41> for process with pid 31139
root@app11:/etc/metricbeat/modules.d# ps -p 31139
  PID TTY TIME CMD
31139 ? 00:00:00 (sd-pam)
root@app11:/etc/metricbeat/modules.d# 

```

needless to say, I don't see anything in _[Metricbeat Redis] Overview (Kibana)_

Please advise.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [December 4, 2017, 5:24am UTC](https://discuss.elastic.co/t/err-unknown-state-41-for-process-with-pid-31139/110069/2 "2017-12-04T05:24:20Z")

</div>

Could you enabled `INFO` or `DEBUG` logging and share the output? Also it would be great if you could share the config for the redis module and what you get when you run `metricbeat modules list`.

---

<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:** [January 1, 2018, 5:24am UTC](https://discuss.elastic.co/t/err-unknown-state-41-for-process-with-pid-31139/110069/3 "2018-01-01T05:24:24Z")

</div>

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