A lot of noise in the logs - "Connection ended" - "Connection accepted"

I’ve configured the verbosity of our 5 member replica set to level 0, but our log files keep filling with thousands of noisy “connection ended” and “connection accepted” messages. They appear perfectly innocent, but the sheer amount of these logs really makes no sense.

Is it really normal & intentional for MongoDB to log all these near-identical log messages, since apparently there is no recommended method to disable them? Our old production cluster running 3.x doesn’t do this.

Do these log messages indicate a problem in out MongoDB setup?

Example logs
{"t":{"$date":"2022-04-07T09:44:21.765+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55534","uuid":"970ac484-45f4-4bfd-a1cc-4e59d33bbf53","connectionId":1610,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:21.765+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55536","uuid":"b5b6b395-bba8-4b43-bb7d-75e6d5d44b03","connectionId":1611,"connectionCount":346}}
{"t":{"$date":"2022-04-07T09:44:21.775+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1610","msg":"Connection ended","attr":{"remote":"127.0.0.1:55534","uuid":"970ac484-45f4-4bfd-a1cc-4e59d33bbf53","connectionId":1610,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:21.776+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1611","msg":"Connection ended","attr":{"remote":"127.0.0.1:55536","uuid":"b5b6b395-bba8-4b43-bb7d-75e6d5d44b03","connectionId":1611,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:22.265+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55540","uuid":"837b55aa-4989-492e-93c4-f2945f33dd88","connectionId":1612,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:22.275+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1612","msg":"Connection ended","attr":{"remote":"127.0.0.1:55540","uuid":"837b55aa-4989-492e-93c4-f2945f33dd88","connectionId":1612,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:22.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55542","uuid":"ed0c5ad6-4e7f-4a4a-a892-7084a1c3b8b2","connectionId":1613,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:22.776+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1613","msg":"Connection ended","attr":{"remote":"127.0.0.1:55542","uuid":"ed0c5ad6-4e7f-4a4a-a892-7084a1c3b8b2","connectionId":1613,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:23.265+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55544","uuid":"e55da0f7-de29-4f79-9bbe-616606642263","connectionId":1614,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:23.276+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1614","msg":"Connection ended","attr":{"remote":"127.0.0.1:55544","uuid":"e55da0f7-de29-4f79-9bbe-616606642263","connectionId":1614,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:23.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55546","uuid":"2c4eff77-feb9-4291-a2b9-f8af4fd638f7","connectionId":1615,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:23.776+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1615","msg":"Connection ended","attr":{"remote":"127.0.0.1:55546","uuid":"2c4eff77-feb9-4291-a2b9-f8af4fd638f7","connectionId":1615,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:24.265+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55548","uuid":"d200a42f-f191-4d70-a31e-b675d0ee9741","connectionId":1616,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:24.275+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1616","msg":"Connection ended","attr":{"remote":"127.0.0.1:55548","uuid":"d200a42f-f191-4d70-a31e-b675d0ee9741","connectionId":1616,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:36.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55550","uuid":"bb55f2a2-eb52-4480-bd83-f60c1b4945b6","connectionId":1617,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:36.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55552","uuid":"a9e7f258-6262-4289-8357-945599d225f2","connectionId":1618,"connectionCount":346}}
{"t":{"$date":"2022-04-07T09:44:36.781+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1617","msg":"Connection ended","attr":{"remote":"127.0.0.1:55550","uuid":"bb55f2a2-eb52-4480-bd83-f60c1b4945b6","connectionId":1617,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:36.781+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1618","msg":"Connection ended","attr":{"remote":"127.0.0.1:55552","uuid":"a9e7f258-6262-4289-8357-945599d225f2","connectionId":1618,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:37.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55554","uuid":"367f2901-cca2-4aca-9465-9cfb2bbf6785","connectionId":1619,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:37.275+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1619","msg":"Connection ended","attr":{"remote":"127.0.0.1:55554","uuid":"367f2901-cca2-4aca-9465-9cfb2bbf6785","connectionId":1619,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:37.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55556","uuid":"3dc4b466-5064-4e58-bab3-8ad00a2c878a","connectionId":1620,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:37.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1620","msg":"Connection ended","attr":{"remote":"127.0.0.1:55556","uuid":"3dc4b466-5064-4e58-bab3-8ad00a2c878a","connectionId":1620,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:38.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55558","uuid":"23a5d6eb-7c9b-4979-81a2-982969a8e5a5","connectionId":1621,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:38.277+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1621","msg":"Connection ended","attr":{"remote":"127.0.0.1:55558","uuid":"23a5d6eb-7c9b-4979-81a2-982969a8e5a5","connectionId":1621,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:38.767+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55560","uuid":"6fbf7f97-919f-4963-a43b-20a3f1f107e3","connectionId":1622,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:38.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1622","msg":"Connection ended","attr":{"remote":"127.0.0.1:55560","uuid":"6fbf7f97-919f-4963-a43b-20a3f1f107e3","connectionId":1622,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:39.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55562","uuid":"2916a03e-b693-43a9-93e3-735ced3d5088","connectionId":1623,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:39.276+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1623","msg":"Connection ended","attr":{"remote":"127.0.0.1:55562","uuid":"2916a03e-b693-43a9-93e3-735ced3d5088","connectionId":1623,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:51.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55564","uuid":"09ae77fc-0d26-44d9-ba17-7ee698decd67","connectionId":1624,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:51.767+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55566","uuid":"44222b4d-2a1c-4bb1-a3e7-73c7f66e22af","connectionId":1625,"connectionCount":346}}
{"t":{"$date":"2022-04-07T09:44:51.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1625","msg":"Connection ended","attr":{"remote":"127.0.0.1:55566","uuid":"44222b4d-2a1c-4bb1-a3e7-73c7f66e22af","connectionId":1625,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:51.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1624","msg":"Connection ended","attr":{"remote":"127.0.0.1:55564","uuid":"09ae77fc-0d26-44d9-ba17-7ee698decd67","connectionId":1624,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:52.267+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55568","uuid":"5ce2a50e-d8e6-4667-aa5b-bd344958b91a","connectionId":1626,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:52.277+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1626","msg":"Connection ended","attr":{"remote":"127.0.0.1:55568","uuid":"5ce2a50e-d8e6-4667-aa5b-bd344958b91a","connectionId":1626,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:52.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55570","uuid":"4cd60f8b-296e-4f09-b7e3-14967b78c40c","connectionId":1627,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:52.778+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1627","msg":"Connection ended","attr":{"remote":"127.0.0.1:55570","uuid":"4cd60f8b-296e-4f09-b7e3-14967b78c40c","connectionId":1627,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:53.267+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55572","uuid":"29606858-4902-4288-a7b1-b753f28271e4","connectionId":1628,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:53.277+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1628","msg":"Connection ended","attr":{"remote":"127.0.0.1:55572","uuid":"29606858-4902-4288-a7b1-b753f28271e4","connectionId":1628,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:53.767+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55574","uuid":"caed7d75-c257-4779-83c8-6f1b58aab4d5","connectionId":1629,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:53.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1629","msg":"Connection ended","attr":{"remote":"127.0.0.1:55574","uuid":"caed7d75-c257-4779-83c8-6f1b58aab4d5","connectionId":1629,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:44:54.267+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55576","uuid":"c2c61cdf-6d5b-4f15-b051-cc29026fb022","connectionId":1630,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:44:54.276+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1630","msg":"Connection ended","attr":{"remote":"127.0.0.1:55576","uuid":"c2c61cdf-6d5b-4f15-b051-cc29026fb022","connectionId":1630,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:06.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55578","uuid":"0c877b90-1cc6-4b18-9e27-01cc8821d57c","connectionId":1631,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:06.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55580","uuid":"88a12d48-86ce-4b9c-bb5c-9c3a77b3f4e9","connectionId":1632,"connectionCount":346}}
{"t":{"$date":"2022-04-07T09:45:06.776+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1631","msg":"Connection ended","attr":{"remote":"127.0.0.1:55578","uuid":"0c877b90-1cc6-4b18-9e27-01cc8821d57c","connectionId":1631,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:06.778+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1632","msg":"Connection ended","attr":{"remote":"127.0.0.1:55580","uuid":"88a12d48-86ce-4b9c-bb5c-9c3a77b3f4e9","connectionId":1632,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:07.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55582","uuid":"968c2f0e-5ef8-4967-ab71-a017a165c40d","connectionId":1633,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:07.277+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1633","msg":"Connection ended","attr":{"remote":"127.0.0.1:55582","uuid":"968c2f0e-5ef8-4967-ab71-a017a165c40d","connectionId":1633,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:07.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55584","uuid":"ab47954c-d4c4-487d-a554-309d7bb07f75","connectionId":1634,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:07.776+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1634","msg":"Connection ended","attr":{"remote":"127.0.0.1:55584","uuid":"ab47954c-d4c4-487d-a554-309d7bb07f75","connectionId":1634,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:08.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55586","uuid":"e7b5a901-87d1-4409-9b17-b41dec3ef079","connectionId":1635,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:08.275+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1635","msg":"Connection ended","attr":{"remote":"127.0.0.1:55586","uuid":"e7b5a901-87d1-4409-9b17-b41dec3ef079","connectionId":1635,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:08.766+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55588","uuid":"a7eb3eb3-67ec-4f44-9540-56c1e4c8a8f6","connectionId":1636,"connectionCount":345}}
{"t":{"$date":"2022-04-07T09:45:08.777+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1636","msg":"Connection ended","attr":{"remote":"127.0.0.1:55588","uuid":"a7eb3eb3-67ec-4f44-9540-56c1e4c8a8f6","connectionId":1636,"connectionCount":344}}
{"t":{"$date":"2022-04-07T09:45:09.266+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55590","uuid":"853d1b22-de94-4488-9e34-58eae3d3ccce","connectionId":1637,"connectionCount":345}}

Forgot to mention, we’re running MongoDB 5.0.6.

Check your verbosity level from db.getLoglevel…Are they at default value or higher
You can set verbosity at component levels like query,storage,network etc

You cannot eliminate those messages.You need it for debugging
Some suggest start mongod with quiet option but not recommended for prod

Verbosity is set to 0, with all the components set to -1 (inherit, as I understood).

I am having the same issue. Log files grow huge with Connection ended, Connection accepted messages. Running MongoDB 5.0.7 and logLevel is set to 0. I know I can rotate/delete logs, but wow this seems highly unnecessary and a risk of blowing up free space.

Has someone ever found a solution to this issue? We’re having the same when running Mongo on a Kubernetes cluster.
With both Mongo 5.0.13 and 6.0.4.

Hi @Acmeno

I would not say that this is an issue per se, since connection accepted event is useful for debugging in many cases, and supressing these informational events may make troubleshooting a lot harder in production environment.

There’s a discussion about exactly this in SERVER-18339. In particular, this comment on the ticket is of interest: in most cases, a connection open event is not expected to be very very frequent, unless you have a lot of clients, or there is minimal connection reuse in the application code. The latter actually merits further examination, since creating a connection is a relatively expensive event. If you have a small number of application but a huge number of connection open events, your app may experience a higher than expected latency due to the way it creates connections.

All official drivers implements a connection pool that should keep this connection open message to a minimum in most cases.

Having said that, you can also pass the --quiet parameter into mongod to supress at least some of these messages. However be aware that this switch also supress other messages that may be important for troubleshooting.

Best regards
Kevin

Hi @kevinadi

Probably I should have mentioned that I’m getting these messages 2-3 times per second without having any clients (at least not to my knowledge) as soon as Mongo gets up on Kubernetes:

{"t":{"$date":"2023-02-21T06:38:40.818+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2023-02-21T06:38:40.818+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInternalClient":true}}}
{"t":{"$date":"2023-02-21T06:38:40.820+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":"config.tenantSplitDonors"}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"iotb-logging-mongo-7766dc78-s8pfz"}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":512,"systemMemSizeMB":96501}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"6.0.4","gitVersion":"44ff59461c1353638a71e710f385a566bcd2f547","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}}
{"t":{"$date":"2023-02-21T06:38:40.822+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
{"t":{"$date":"2023-02-21T06:38:40.831+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
{"t":{"$date":"2023-02-21T06:38:40.831+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
{"t":{"$date":"2023-02-21T06:38:40.834+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=256M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}}
{"t":{"$date":"2023-02-21T06:38:42.337+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1503}}
{"t":{"$date":"2023-02-21T06:38:42.337+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
{"t":{"$date":"2023-02-21T06:38:42.354+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
{"t":{"$date":"2023-02-21T06:38:42.354+00:00"},"s":"W", "c":"CONTROL", "id":22178, "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
{"t":{"$date":"2023-02-21T06:38:42.354+00:00"},"s":"W", "c":"CONTROL", "id":22181, "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/defrag is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
{"t":{"$date":"2023-02-21T06:38:42.354+00:00"},"s":"W", "c":"CONTROL", "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":262144,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
{"t":{"$date":"2023-02-21T06:38:42.367+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":17},"outgoing":{"minWireVersion":13,"maxWireVersion":17},"isInternalClient":true}}}
{"t":{"$date":"2023-02-21T06:38:42.367+00:00"},"s":"I", "c":"REPL", "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"5.0","context":"startup"}}
{"t":{"$date":"2023-02-21T06:38:42.367+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
{"t":{"$date":"2023-02-21T06:38:42.368+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
{"t":{"$date":"2023-02-21T06:38:42.369+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
{"t":{"$date":"2023-02-21T06:38:42.381+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
{"t":{"$date":"2023-02-21T06:38:42.381+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2023-02-21T06:38:42.383+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
{"t":{"$date":"2023-02-21T06:38:42.383+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
{"t":{"$date":"2023-02-21T06:38:42.383+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
{"t":{"$date":"2023-02-21T06:38:50.041+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52108","uuid":"1d3aeef2-de04-4f91-b22d-6f86f4d0b281","connectionId":1,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:50.041+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:52108","client":"conn1","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:50.042+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52110","uuid":"a5985ed3-adf0-44aa-9eea-b1d88efd593f","connectionId":2,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:50.042+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:52110","client":"conn2","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:50.055+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2","msg":"Connection ended","attr":{"remote":"127.0.0.1:52110","uuid":"a5985ed3-adf0-44aa-9eea-b1d88efd593f","connectionId":2,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:50.055+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1","msg":"Connection ended","attr":{"remote":"127.0.0.1:52108","uuid":"1d3aeef2-de04-4f91-b22d-6f86f4d0b281","connectionId":1,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:51.040+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52178","uuid":"9232fd3d-08c2-4d5d-bca4-fe8f53f91210","connectionId":3,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:51.040+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:52178","client":"conn3","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:51.041+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52180","uuid":"cf3dc14f-edf0-4c73-af0a-b901ab49a5e5","connectionId":4,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:51.041+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:52180","client":"conn4","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:51.130+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn3","msg":"Connection ended","attr":{"remote":"127.0.0.1:52178","uuid":"9232fd3d-08c2-4d5d-bca4-fe8f53f91210","connectionId":3,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:51.130+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn4","msg":"Connection ended","attr":{"remote":"127.0.0.1:52180","uuid":"cf3dc14f-edf0-4c73-af0a-b901ab49a5e5","connectionId":4,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:52.038+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52260","uuid":"96c8d2f8-aea7-4c5b-89b8-66301de1136a","connectionId":5,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:52.039+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:52260","client":"conn5","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:52.039+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52262","uuid":"9823e586-35e0-4006-9fd6-e85322c533bc","connectionId":6,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:52.040+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"127.0.0.1:52262","client":"conn6","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:52.054+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn6","msg":"Connection ended","attr":{"remote":"127.0.0.1:52262","uuid":"9823e586-35e0-4006-9fd6-e85322c533bc","connectionId":6,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:52.054+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn5","msg":"Connection ended","attr":{"remote":"127.0.0.1:52260","uuid":"96c8d2f8-aea7-4c5b-89b8-66301de1136a","connectionId":5,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:53.049+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52350","uuid":"59147541-b12a-4852-adab-bbb50ed18e9b","connectionId":7,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:53.049+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"127.0.0.1:52350","client":"conn7","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:53.050+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52352","uuid":"cb8a3d41-10a0-4884-9f12-1ea9eddebb2b","connectionId":8,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:53.050+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn8","msg":"client metadata","attr":{"remote":"127.0.0.1:52352","client":"conn8","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:53.135+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn7","msg":"Connection ended","attr":{"remote":"127.0.0.1:52350","uuid":"59147541-b12a-4852-adab-bbb50ed18e9b","connectionId":7,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:53.135+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn8","msg":"Connection ended","attr":{"remote":"127.0.0.1:52352","uuid":"cb8a3d41-10a0-4884-9f12-1ea9eddebb2b","connectionId":8,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:54.050+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52430","uuid":"2486c0b8-c169-419d-b165-4dc848d49faa","connectionId":9,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:54.050+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"127.0.0.1:52430","client":"conn9","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:54.051+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52432","uuid":"7185eef6-ca72-43da-b194-9c04afa2081f","connectionId":10,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:54.051+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn10","msg":"client metadata","attr":{"remote":"127.0.0.1:52432","client":"conn10","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:54.064+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn9","msg":"Connection ended","attr":{"remote":"127.0.0.1:52430","uuid":"2486c0b8-c169-419d-b165-4dc848d49faa","connectionId":9,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:54.064+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn10","msg":"Connection ended","attr":{"remote":"127.0.0.1:52432","uuid":"7185eef6-ca72-43da-b194-9c04afa2081f","connectionId":10,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:55.056+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52508","uuid":"3e75c8e8-558a-4324-ac0c-d476466b0f98","connectionId":11,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:55.056+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn11","msg":"client metadata","attr":{"remote":"127.0.0.1:52508","client":"conn11","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:55.057+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52510","uuid":"daf94b33-bdae-4d83-b39e-c62785dfffdc","connectionId":12,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:55.057+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn12","msg":"client metadata","attr":{"remote":"127.0.0.1:52510","client":"conn12","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:55.227+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn12","msg":"Connection ended","attr":{"remote":"127.0.0.1:52510","uuid":"daf94b33-bdae-4d83-b39e-c62785dfffdc","connectionId":12,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:55.228+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn11","msg":"Connection ended","attr":{"remote":"127.0.0.1:52508","uuid":"3e75c8e8-558a-4324-ac0c-d476466b0f98","connectionId":11,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:56.059+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52588","uuid":"5e439ed2-bca8-4155-a5f4-f9b89d38bc35","connectionId":13,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:56.059+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn13","msg":"client metadata","attr":{"remote":"127.0.0.1:52588","client":"conn13","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:56.060+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52590","uuid":"8ad9e3f1-425b-480a-a7f0-0d96525512f9","connectionId":14,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:56.060+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn14","msg":"client metadata","attr":{"remote":"127.0.0.1:52590","client":"conn14","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:56.073+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn14","msg":"Connection ended","attr":{"remote":"127.0.0.1:52590","uuid":"8ad9e3f1-425b-480a-a7f0-0d96525512f9","connectionId":14,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:56.073+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn13","msg":"Connection ended","attr":{"remote":"127.0.0.1:52588","uuid":"5e439ed2-bca8-4155-a5f4-f9b89d38bc35","connectionId":13,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:57.129+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52908","uuid":"cd0eeb09-1601-4c7b-b7b2-a2e054320710","connectionId":15,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:57.129+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn15","msg":"client metadata","attr":{"remote":"127.0.0.1:52908","client":"conn15","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:57.130+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:52920","uuid":"82149646-04ef-4cbd-827a-432feb55ded3","connectionId":16,"connectionCount":2}}
{"t":{"$date":"2023-02-21T06:38:57.130+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn16","msg":"client metadata","attr":{"remote":"127.0.0.1:52920","client":"conn16","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}
{"t":{"$date":"2023-02-21T06:38:57.151+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn16","msg":"Connection ended","attr":{"remote":"127.0.0.1:52920","uuid":"82149646-04ef-4cbd-827a-432feb55ded3","connectionId":16,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:57.151+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn15","msg":"Connection ended","attr":{"remote":"127.0.0.1:52908","uuid":"cd0eeb09-1601-4c7b-b7b2-a2e054320710","connectionId":15,"connectionCount":0}}
{"t":{"$date":"2023-02-21T06:38:58.060+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:53024","uuid":"d16d4b55-bec3-42a5-8290-5163d9346ab9","connectionId":17,"connectionCount":1}}
{"t":{"$date":"2023-02-21T06:38:58.060+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn17","msg":"client metadata","attr":{"remote":"127.0.0.1:53024","client":"conn17","doc":{"driver":{"name":"PyMongo","version":"3.8.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"3.10.0-1160.53.1.el7.x86_64"},"platform":"CPython 3.8.13.final.0"}}}

When spinning up the same container outside Kubernetes this behaviour does not appear. Therefore I’m talking about an issue - most probably on my end :slight_smile:.

These connects also appear without exposing the container externally. Is there some mechanism within the container which continuously connects to mongod?

I don’t think that’s what I see from the logs.

The incoming connections all have this signature:

{"remote":"127.0.0.1:53024","client":"conn17","doc":{"driver":{"name":"PyMongo","version":"3.8.0"}

This means that some client is connecting from localhost (perhaps inside the Docker image) using Pymongo, so it’s likely to be an app. From the log you posted, it creates 17 connections within the span of 8 seconds, so you might want to check any Python script you have, and see if it’s coded properly and not trying to flood the database with unnecessary connections.

As you mentioned that you don’t see this when starting it without kubernetes, then I think it’s about how the kubernetes deployment is set up, and other things that runs within that environment.

Having said that, I believe this demonstrated the merit of having all these connection log lines recorded. Otherwise we’ll have no idea that something is wrong :slight_smile:

Best regards
Kevin

3 Likes

I have no clue why, but the following day(s) the questionable connects did not appear anymore… Many thanks for your help.