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