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

currentOp command should return cursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.10
    • Component/s: Admin, Diagnostics, Logging
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 2017-04-17, Query 2017-05-08, Query 2017-05-29, Query 2017-06-19, Query 2017-07-10
    • Linked BF Score:
      0

      Description

      mongos> db.currentOp(true)
      2015-07-07T11:26:00.759-0700 error: {
      	"$err" : "BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit.",
      	"code" : 13548
      } at src/mongo/shell/query.js:131
      

      There are 225 connections to the mongos, with 40 shards, each
      with a 5-member replica set. lsof shows ~4600 open connections to the mongos process.

      Trying to grow a buffer to 134 MB for the output of 4600 connections seems a little large (~32 kB/connection entry), but making the command scale is the goal.

      Introducing a cursor to the command (and others like it) would allow it to work on arbitrarily sized clusters.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: