Hello Team,
I have posted the same question in an old thread by subject: Setting max_connections in Postgres deployed through AWX operator 0.13.0 with AWX 19.3.0
as my issue is the same. I see a lot of idle connections from the dispatcher service and due to this I see frequent alerts for “could not receive data from client: Connection reset by peer”. We are using Postgresql database with awx.
Point to note is that due to this behavior I am seeing a rise in memory usage as every second we get this message in the logs.
My question is:
- How can I stop this behavior and do not see so many frequent logs for “could not receive data from client: Connection reset by peer”?
- Is this normal behavior of dispatcher service to create idle sessions every second?
AWX version is : 21.0.0
It(AWX) is a pod running in openshift.