Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20598

db.currentOp command suppresses "client" information for idle connections

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Admin, Networking, Usability
    • None

    Description

      As per the documentation of db.currentOp:

      Changed in version 3.0: For some inactive background threads, such as an inactive signalProcessingThread, MongoDB suppresses various empty fields.

      It seems that any idle connections (not running any operation) are suppressing client information. For example, In MongoDB 3.0, idle connections to mongo shell are showing up like this:

      {
      	"desc" : "conn32",
      	"threadId" : "0x7fd6dbf04b40",
      	"connectionId" : 32,
      	"active" : false
      }
      

      Can client (ip/hostname) be included in the output?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ankit.kakkar@mongodb.com Ankit Kakkar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: