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

Add details on type of connections in the mongod.log

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Logging, Networking
    • Labels:
      None
    • Service Arch

      In the mongod.log file, we have the following lines:

      2014-09-24T10:19:42.283-0400 [conn31] end connection 127.0.0.1:53984 (6 connections now open)
      2014-09-24T10:19:42.283-0400 [initandlisten] connection accepted from 127.0.0.1:54012 #33 (7 connections now open)
      

      There has been confusion about the number of connections moving up and down. The fluctuations are caused, among other things, by replication, heartbeats, ...
      I think we should differentiate between the client connections, and the system connections. The output could look like:

      2014-09-24T10:19:42.283-0400 [conn31] end connection 127.0.0.1:53984 (6 connections now open, 4 system connections, 2 client connections)
      2014-09-24T10:19:42.283-0400 [initandlisten] connection accepted from 127.0.0.1:54012 #33 (7 connections now open, 5 system connections, 2 client connections)
      

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: