Looks like the issue starts when connect a USB wifi dongle (based on ath9k_htc).
After a fresh NetworkManager restart, journalctl shows that USB device is 
enumerated periodically, and for some reasons, failed to be configured 
correctly.

We can conclude that there is a FD leakage every time a new interface is
inserted/removed.

I will check what is wrong with the enumeration/configuration.


** Attachment added: "journalctl.log"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1716884/+attachment/4949346/+files/journalctl.log

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1716884

Title:
  network-manager consume too much file descriptor and is not able to
  work correctly

Status in network-manager package in Ubuntu:
  New

Bug description:
  Detected when I failed to start a vpn client session.

  journalctl shows line like:
  sept. 13 10:37:29 xxx NetworkManager[1092]: <warn>  [1505291849.7302] 
vpn-connection[0x2786800,4cd810de-c299-41e9-bf4b-c6df18d09b66,"xxx",0]: Could 
not launch the VPN service. error: Trop de fichiers ouverts.

  Indeed, /proc/$PID/fd is full of socket file descriptors.  (with PID
  the pid of NetworkManager)

  "strace -e socket -p $PID -f" shows that a netlink socket is opened
  every 3s and never closed.

     [pid  9384] socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC,
  NETLINK_GENERIC) = 361

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: network-manager 1.2.6-0ubuntu0.16.04.1
  ProcVersionSignature: Ubuntu 4.11.0-14.20~16.04.1-generic 4.11.12
  Uname: Linux 4.11.0-14-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Sep 13 11:12:05 2017
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2016-06-23 (447 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 
(20160622)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-nm:
   RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  
WIFI     WWAN-HW  WWAN    
   running  1.2.6    connected  started  full          enabled     enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1716884/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to