[Pkg-utopia-maintainers] Bug#788857: /usr/sbin/NetworkManager: waits for (zombie) dhclient processes

Philipp Marek philipp.marek at linbit.com
Wed Jun 17 05:12:55 UTC 2015


In case that helps, here's a bit more information:

  30797 ?        Ssl    0: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, 50000000}, 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.



More information about the Pkg-utopia-maintainers mailing list