[RFE] Neutron creates too many connections to rabbitmq (NOTE: change this name in accordance with the proposal)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Wishlist
|
Unassigned |
Bug Description
It is undesirable to keep many TCP connections open at the same time because doing so consumes system resources and makes it more difficult to scale.
E.g OVS agent creates 15 long-lived connections to rabbitmq from scratch https:/
Comparing to Nova which uses 3 connections https:/
Agent creates separate topic/RPC server for each resource, like neutron-
We could combine these calls into couple RPC servers and reduce connection number, oslo.messaging supports connection pool, which could be configured via config, so it manages connections dynamically.
Openstack Yoga, DVR mode
tags: | added: rfe-approved |
Thanks Anton for the bug report, Can you also share below to better Triage it:-
- Deployment method used, and share neutron/nova config
- How much resource consumption you noticed with these connections
- And what issue you notice at scale(also what's the scale?)
<< E.g OVS agent creates 15 long-lived connections to rabbitmq from scratch https:/ /paste. opendev. org/show/ br2JxQ7SJkX1Ib2 Za3jv/
Just correction, those connections count 14. The same i can see from some CI logs.