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

Add details on type of connections in the mongod.log

    XMLWordPrintable

    Details

      Description

      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)
      

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Storage Execution Team
            Reporter:
            daniel.coupal Daniel Coupal
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: