too many accepting and closing AMQP connections in the rabbitmq server logs
andresbarcenas opened this issue · 1 comments
Hello,
I am running around 300 workers and I am seeing these messages flow through the log and I can't seem to figure out why. Any ideas?
2023-03-24 22:48:02.295935+00:00 [info] <0.18539.257> connection <0.18539.257> (10.216.3.43:51402 -> 10.216.3.85:5672): user 'xxx' authenticated and granted access to vhost '/'
2023-03-24 22:48:02.302466+00:00 [info] <0.18539.257> closing AMQP connection <0.18539.257> (10.216.3.43:51402 -> 10.216.3.85:5672, vhost: '/', user: 'xxx')
2023-03-24 22:48:02.380995+00:00 [info] <0.18458.257> accepting AMQP connection <0.18458.257> (10.216.3.24:58624 -> 10.216.3.85:5672)
2023-03-24 22:48:02.385826+00:00 [info] <0.18458.257> connection <0.18458.257> (10.216.3.24:58624 -> 10.216.3.85:5672): user 'xxx' authenticated and granted access to vhost '/'
2023-03-24 22:48:02.392974+00:00 [info] <0.18458.257> closing AMQP connection <0.18458.257> (10.216.3.24:58624 -> 10.216.3.85:5672, vhost: '/', user: 'xxx')
2023-03-24 22:48:02.404333+00:00 [info] <0.18504.257> accepting AMQP connection <0.18504.257> (10.216.3.27:40084 -> 10.216.3.85:5672)
2023-03-24 22:48:02.406593+00:00 [info] <0.18504.257> connection <0.18504.257> (10.216.3.27:40084 -> 10.216.3.85:5672): user 'xxx' authenticated and granted access to vhost '/'
2023-03-24 22:48:02.410235+00:00 [info] <0.18504.257> closing AMQP connection <0.18504.257> (10.216.3.27:40084 -> 10.216.3.85:5672, vhost: '/', user: 'xxx')
Short-lived connections is something that Bunny itself never uses, and Sneakers does not use heavily. My best guess is that something restarts those workers, affects (kills or restarts) their processes, drives Rake tasks, and so on.
A traffic dump would tell you what exactly those connections do.