Investigate potential socket leaks from MongoS

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking, Sharding
    • None
    • Environment:
      Leakin
    • Service Arch
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Relates to work done with releaseConnectionAfterResponse


      Results from some testing
      Under 2.6 we do have some leftover connections, compare:
      Pre Test (18 sockets with LSOF)

      	"totalAvailable" : 9,
      	"totalCreated" : 10,
      	"numDBClientConnection" : 10,
      	"numAScopedConnection" : 1,
      	"ok" : 1
      

      Post test (86 sockets under LSOF)

      	"totalAvailable" : 15,
      	"totalCreated" : 25,
      	"numDBClientConnection" : 84,
      	"numAScopedConnection" : 10,
      	"ok" : 1
      

      However, under load there are 186 open sockets open during the test.

      This shows that connections are being closed by RCAR, but there may also be some leftovers. We need to investigate this.

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            David Hows (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: