Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-1943

MongoDb QAN doesn't show new queries beause of CappedPositionLost error

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Cannot Reproduce
    • 1.6.0
    • None
    • QAN Agent
    • None

    Description

      For some reason MongoDb QAn stopped fetching queries…
      I checked QAN status and found an error:
      "

      getMore executor error: CappedPositionLost: CollectionScan died due to position in capped collection being deleted. Last seen record id: 

      I executed some commands suggested by Adamo:

      use <yourdb>
      db.getProfilingLevel()
      db.setProfilingLevel(0)
      db.system.profile.drop()

      After that the error was dissapeared, I generated some new data, then checked Mongo QAN - No new data :disappointed:
      I also restarted all services, but it didn’t help..
      In pmm-mongo-queries.log:

      2018/01/18 09:37:04.072763 WARNING data-sender Removed qan_1516268220061001909 because API returned 400: data.GetData: gzip: invalid header
      2018/01/18 09:37:04.080111 WARNING data-sender Removed qan_1516268220068944599 because API returned 400: data.GetData: unexpected EOF
      2018/01/18 09:47:34.077586 WARNING data-sender Removed qan_1516268820012313482 because API returned 400: data.GetData: gzip: invalid header

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nailya.kutlubaeva Nailya Kutlubaeva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 hour
                  1h

                  Smart Checklist