# Pmm-client is flooded with mongodb error logs

**URL:** <https://forums.percona.com/t/pmm-client-is-flooded-with-mongodb-error-logs/8424>\
**Category:** PMM 2.x\
**Tags:** mongodb, pmm\
**Created:** [December 20, 2020, 7:53pm UTC](https://forums.percona.com/t/pmm-client-is-flooded-with-mongodb-error-logs/8424 "2020-12-20T19:53:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnmkr](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@rnmkr](https://forums.percona.com/u/rnmkr)\
**Post date:** [December 20, 2020, 7:53pm UTC](https://forums.percona.com/t/pmm-client-is-flooded-with-mongodb-error-logs/8424/1 "2020-12-20T19:53:39Z")

</div>

My pmm-agent.servicehas hundred of thousands of this logs. Does it mean something is wrong?

```auto
Dec 21 01:18:55 db pmm-agent[1178179]: WARN[2020-12-21T01:18:55.801+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:18:56 db pmm-agent[1178179]: WARN[2020-12-21T01:18:56.801+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:18:57 db pmm-agent[1178179]: WARN[2020-12-21T01:18:57.801+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:18:58 db pmm-agent[1178179]: WARN[2020-12-21T01:18:58.802+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:18:59 db pmm-agent[1178179]: WARN[2020-12-21T01:18:59.803+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:19:00 db pmm-agent[1178179]: WARN[2020-12-21T01:19:00.803+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:19:01 db pmm-agent[1178179]: WARN[2020-12-21T01:19:01.805+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:19:02 db pmm-agent[1178179]: WARN[2020-12-21T01:19:02.805+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:19:03 db pmm-agent[1178179]: WARN[2020-12-21T01:19:03.805+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent
Dec 21 01:19:04 db pmm-agent[1178179]: WARN[2020-12-21T01:19:04.805+00:00] couldn't retrieve data from cursor (CappedPositionLost) CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(6) agentID=/agent_id/b26810d6-7d29-4815-8d2b-4002c3zc3fcd component=agent-builtin db=mydb type=qan_mongodb_profiler_agent

```

---

<div class="post-metadata">

**Author:** ![rnmkr](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@rnmkr](https://forums.percona.com/u/rnmkr)\
**Post date:** [December 21, 2020, 4:31pm UTC](https://forums.percona.com/t/pmm-client-is-flooded-with-mongodb-error-logs/8424/2 "2020-12-21T16:31:58Z")

</div>

These errors went away after restarting pmm-agent.service . I hope this is the fix for now.
