-
Type:
Improvement
-
Resolution: Won't Do
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.6.4
-
Component/s: Logging, Networking
-
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)