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

Mongodb-profile-agent returns many "context deadline errors" in logs

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta5
    • Fix Version/s: 2.0.0-beta6
    • Component/s: QAN Agent
    • Labels:
      None

      Description

      STR:

      1. Start PMM2 server (201908010641)
      2. Add MongoDb to monitoring (with enabled profiling)
      3. Run sysbench for mongo
      4. Check pmm-agent.log
        Given result: there are a lot of errors like:
         failed to write: context deadline exceeded" agentID=/agent_id/1ba8f674-27ca-4146-aebf-575243d6c762 component=agent-builtin type=qan_mongodb_profiler_agent
        "context deadline exceeded" agentID=/agent_id/ecc6535c-dd69-4e2b-84fc-99679a17124f component=agent-builtin type=qan_mongodb_profiler_agent
         

      And there are just some queries for on QAN page, not all queries. I could reproduce the problem with replicated server and with single server (both without authorisation )

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nailya.kutlubaeva Nailya Kutlubaeva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 3 days, 18 minutes
                  3d 18m