← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1570466] Re: Adding/removing ports leaks memory in dpdk

 

This bug was fixed in the package dpdk - 2.2.0-0ubuntu9

---------------
dpdk (2.2.0-0ubuntu9) yakkety; urgency=medium

  * d/p/ubuntu-backport-[36-37] fix virtio issues (LP: #1570195):
    - don't let DPDK initialize virtio devices still in use by the kernel
    - this avoids conflicts between kernel and dpdk usage of those devices
    - an admin now has to unbind/bind devices as on physical hardware
    - this is in the dpdk 16.04 release and delta can then be dropped
    - d/dpdk-doc.README.Debian update for changes in virtio-pci handling
    - d/dpdk.interfaces update for changes in virtio-pci handling
  * d/p/ubuntu-backport-38... fix for memory leak (LP: #1570466):
    - call vhost_destroy_device on removing vhost user ports to fix memory leak
    - this likely is in the dpdk 16.07 release and delta can then be dropped
  * d/p/ubuntu-fix-vhost-user-socket-permission.patch fox (LP: #1546565):
    - when vhost_user sockets are created they are owner:group of the process
    - the DPDK api to create those has no way to specify owner:group
    - to fix that without breaking the API and potential workaround code in
      consumers of the library like openvswitch 2.6 for example. This patch
      adds an EAL commandline option to specify user:group created vhost_user
      sockets should have.

 -- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx>  Wed, 27 Apr
2016 07:52:48 -0500

** Changed in: dpdk (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1570466

Title:
  Adding/removing ports leaks memory in dpdk

Status in dpdk package in Ubuntu:
  Fix Released
Status in dpdk source package in Xenial:
  Fix Committed

Bug description:
  I set up a nicely working OVS-DPDK with KVM Guests.
  Then in a loop I
     - add up to 512 ports
     - test connectivity
     - remove up to 512 ports

  The effective error is like the issues discussed upstream about >1023 file descriptors - OVS-DPDK crashes due to that.
  A lot in the log afterwards are just follow on issues.

  But the problem of this bug is that there has to be some sort of leak of file descriptors (or something else depending on analysis).
  Because one would expect that adding/removing the same amount of ports should not exceed any "more" of a limit than in the first iteration.

  Of 12 planned iterations in 2 of 2 tries I now always failed at iteration 6.
  So I hope it is rather reproducible and will start debugging it.
  --- 
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  DistroRelease: Ubuntu 16.04
  Package: openvswitch-dpdk
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Tags:  xenial uec-images
  Uname: Linux 4.4.0-18-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: kvm libvirtd
  _MarkForUpload: True
  modified.conffile..etc.dpdk.dpdk.conf: [modified]
  modified.conffile..etc.dpdk.interfaces: [modified]
  mtime.conffile..etc.dpdk.dpdk.conf: 2016-04-14T13:58:58.618313
  mtime.conffile..etc.dpdk.interfaces: 2016-04-14T13:58:58.766313

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1570466/+subscriptions