Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3808

SRV polling thread uses 100% CPU when connected to a replica set

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical - P2 Critical - P2
    • 1.17.2
    • 1.17.0
    • None
    • None
    • Ubuntu 18 / 20 and macOS

    Description

      Implementation of the client pool has resulted in a runaway thread consuming 100% of CPU on a task (from what I can gather by tracing it is srv_polling_run within the libmongoc-1.0.0 dynamic library). It is reproducible on my macOS development machine and my docker 18 and 20 distribution containers. 

      My use of the mongocxx:: pool class is standard with the documentation. 

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            rylandva@med.umich.edu Ryan Landvater
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: