← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1393362] Re: linuxbridge agent is using too much memory

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1393362

Title:
  linuxbridge agent is using too much memory

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron juno series:
  Fix Released

Bug description:
  When vxlan is configured:

  $ ps aux | grep linuxbridge
  vagrant  21051  3.2 28.9 504764 433644 pts/3   S+   09:08   0:02 python /usr/local/bin/neutron-linuxbridge-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

  
  A list with over 16 million numbers is created here:

   for segmentation_id in range(1, constants.MAX_VXLAN_VNI + 1):

  https://github.com/openstack/neutron/blob/b5859998bc662569fee4b34fa079b4c37744de2c/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py#L526

  and does not seem to be garbage collected for some reason.

  Using xrange instead:

  $ ps -aux | grep linuxb
  vagrant   7397  0.1  0.9 106412 33236 pts/10   S+   09:19   0:05 python /usr/local/bin/neutron-linuxbridge-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1393362/+subscriptions


References