neutron-rootwrap processes not getting cleaned up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
neutron-rootwrap processes aren't getting cleaned up on Newton. I'm testing with Newton rc3.
I was noticing memory exhaustion on my neutron gateway units, which turned out to be due to compounding neutron-rootwrap processes:
sudo /usr/bin/
$ top -n1 -b -o VIRT
http://
$ ps aux|grep ovsdb-client
http://
Restarting openvswitch cleans up the processes but they just start piling again up soon after:
sudo systemctl restart openvswitch-switch
At first I thought this was an openvswitch issue, however I reverted the code in get_root_
This can be recreated with the openstack charms using xenial-
[1]
commit fd93e19f2a415b3
Author: Assaf Muller <email address hidden>
Date: Fri Mar 18 16:29:26 2016 -0400
Change get_root_
get_
until it can no longer find a child. However, the intention is
not to find the deepest child, but to strip away root helpers.
For example 'sudo neutron-rootwrap x' is supposed to find the
pid of x. However, in cases 'x' spawned quick lived children of
its own (For example: ip / brctl / ovs invocations),
get_
the wrong time.
Change-Id: I582aa5c931c8bf
Closes-Bug: #1558819
no longer affects: | openvswitch (Ubuntu) |
summary: |
- ovsdb-client processes not getting cleaned up + neutron-rootwrap processes not getting cleaned up |
description: | updated |
description: | updated |
Changed in neutron: | |
importance: | Undecided → High |
tags: | added: ovs |
This may be the issue, though I don't know the code well enough. https:/ /github. com/openvswitch /ovs/commit/ fe5593818dca05b 03804de5d99a9ed d125f2d440
service_start without any corresponding service_stop