charm-octavia doesn't apply worker-multiplier thus takes up available MySQL connections
Bug #1889731 reported by
Nobuto Murata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
High
|
Frode Nordahl |
Bug Description
In a deployed cloud, octavia units have unnecessarily large number of workers running (163) and database connections (90) per unit of the box when idle.
The service can eat up available MySQL connections as other services are limiting the number of connections by following the worker-multiplier configuration.
$ juju config octavia worker-multiplier
0.25
-> 20 is the expected worker number as I have 80 CPU threads system
# pgrep -af /usr/bin/
163
# ss -tp | grep -c :mysql
90
(when idle)
Changed in charm-octavia: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-octavia: | |
importance: | Critical → High |
status: | Fix Committed → In Progress |
tags: | added: sts |
tags: | added: canonical-bootstack |
Changed in charm-octavia: | |
milestone: | none → 20.10 |
Changed in charm-octavia: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think the section below needs to be applied to the template especially health_ update_ threads and stats_update_ threads.
openstack/octavia (master=)$ git grep -C 7 processors etc/octavia.conf conf-[health_ manager] ip_port_ list example: 127.0.0.1:5555, 127.0.0.1:5555 ip_port_ list = update_ threads will default to the number of processors on the host update_ threads = threads will default to the number of processors on the host threads = check_interval = 3
etc/octavia.conf-
etc/octavia.
etc/octavia.conf-# bind_ip = 127.0.0.1
etc/octavia.conf-# bind_port = 5555
etc/octavia.conf-# controller_
etc/octavia.conf-# controller_
etc/octavia.conf-# failover_threads = 10
etc/octavia.conf:# health_
etc/octavia.conf-# health_
etc/octavia.conf:# stats_update_
etc/octavia.conf-# stats_update_
etc/octavia.conf-# heartbeat_interval = 10
etc/octavia.conf-# heartbeat_key =
etc/octavia.conf-# heartbeat_timeout = 60
etc/octavia.conf-# health_
etc/octavia.conf-# sock_rlimit = 0
etc/octavia.conf-