Bug#788857: /usr/sbin/NetworkManager: waits for (zombie) dhclient processes
In case that helps, here's a bit more information: 30797 ?Ssl0:02 /usr/sbin/NetworkManager --no-daemon 32056 ?Z 0:00 \_ [dhclient] defunct Here's the loop NetworkManager hangs in: munmap(0x7fe97f86c000, 4096)= 0 kill(32056, SIG_0) = 0 nanosleep({0, 5000}, 0x7fff277ce810) = 0 open(/proc/32056/stat, O_RDONLY) = 22 fstat(22, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 fcntl(22, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat(22, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe97f86c000 lseek(22, 0, SEEK_CUR) = 0 read(22, 32056 (dhclient) Z 30797 32056 3..., 4096) = 175 read(22, , 3072) = 0 close(22) = 0 munmap(0x7fe97f86c000, 4096)= 0 kill(32056, SIG_0) = 0 ... So I guess it should either register SIGCHLD for auto-cleanup, or see the Z in the stat file. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#788857: /usr/sbin/NetworkManager: waits for (zombie) dhclient processes
Package: network-manager Version: 1.0.2-2 Severity: normal File: /usr/sbin/NetworkManager When doing suspend/resume cycles that switch the network connection (eth0 to wlan0 or usb0), NetworkManager still has the dhclient process that it spawned earlier on - which is a zombie already. 11240 ?Ssl0:23 /usr/sbin/NetworkManager --no-daemon 9502 ?Z 0:00 \_ [dhclient] defunct As long as NetworkManager is blocked, no new network connection gets established - and clients like the KDE widgets also hang, therefore blocking eg. the screen saver lock and suspend cycle when the laptop is simply closed... The event order is typically * suspend (to ram), * disconnect eth0, * later on resume * and then the above situation is present. Sometimes it's just not reaping the process, but starting a new dhclient: 17544 ?Ssl0:01 /usr/sbin/NetworkManager --no-daemon 20135 ?Z 0:00 \_ [dhclient] defunct 23232 ?S 0:00 \_ /sbin/dhclient -d -q -sf /usr/... -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages network-manager depends on: ii adduser3.113+nmu3 ii dbus 1.8.18-1 ii init-system-helpers1.23 ii isc-dhcp-client4.3.2-1 ii libbluetooth3 5.23-2+b1 ii libc6 2.19-18 ii libdbus-1-31.8.18-1 ii libdbus-glib-1-2 0.102-1 ii libgcrypt201.6.3-2 ii libglib2.0-0 2.44.1-1 ii libgnutls-deb0-28 3.3.15-5 ii libgudev-1.0-0 230-1 ii libmm-glib01.4.8-1 ii libndp01.4-2 ii libnewt0.520.52.17-1+b1 ii libnl-3-2003.2.24-2 ii libnl-genl-3-200 3.2.24-2 ii libnl-route-3-200 3.2.24-2 ii libnm0 1.0.2-2 ii libpam-systemd 215-18 ii libpolkit-agent-1-00.105-8 ii libpolkit-gobject-1-0 0.105-8 ii libreadline6 6.3-8+b3 ii libsoup2.4-1 2.50.0-2 ii libsystemd0215-18 ii libteamdctl0 1.17-1 ii libuuid1 2.26.2-6 ii lsb-base 4.1+Debian13+nmu1 ii policykit-10.105-8 ii udev 220-6 ii wpasupplicant 2.3-2 Versions of packages network-manager recommends: ii crda3.13-1 ii dnsmasq-base2.72-3.1+b1 ii iptables1.4.21-2+b1 pn iputils-arping none ii modemmanager1.4.8-1 ii ppp 2.4.6-3.1 Versions of packages network-manager suggests: ii avahi-autoipd 0.6.31-5 pn libteam-utils none -- Configuration Files: /etc/NetworkManager/NetworkManager.conf changed: [main] plugins=ifupdown,keyfile no-auto-default=78:2b:cb:d0:c1:1c,aa:00:04:00:0a:04,2A:1B:DE:41:1E:9C, [ifupdown] managed=false -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org