[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594687: ControlPersist causes defunct/zombie processes



Package: openssh-client
Version: 1:5.6p1-1
Severity: normal

Since switching on ControlPersist, I have dozens of defunct ssh
processes in the process table, e.g.:

  madduck  28025  0.0  0.0  40612  2784 pts/8    S+   09:17   0:00 ssh pulse
  madduck  28028  0.0  0.0      0     0 pts/8    Z+   09:17   0:00 [ssh] <defunct>
  madduck  28029  0.0  0.0  40704  1188 ?        Ss   09:17   0:00 ssh pulse

The PIDs suggest thatt hese are related. It looks to me that the
second process is the clone process, which, according to strace,
only does:

  open("/dev/null", O_RDWR)               = 5
  dup2(5, 0)                              = 0
  dup2(5, 1)                              = 1
  close(5)                                = 0
  clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f901060c9f0) = 20475
  exit_group(0)                           = ?

It looks like the parent is not reaping this clone after it
terminates.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser               3.112              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.35             Debian configuration management sy
ii  dpkg                  1.15.8.4           Debian package management system
ii  libc6                 2.11.2-2           Embedded GNU C Library: Shared lib
ii  libedit2              2.11-20080614-1    BSD editline and history libraries
ii  libgssapi-krb5-2      1.8.3+dfsg~beta1-1 MIT Kerberos runtime libraries - k
ii  libssl0.9.8           0.9.8o-1           SSL shared libraries
ii  passwd                1:4.1.4.2-1        change and administer password and
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

Versions of packages openssh-client recommends:
ii  openssh-blacklist             0.4.1      list of default blacklisted OpenSS
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.4-1  X authentication utility

Versions of packages openssh-client suggests:
ii  gtk-led-askpass [ssh-askpass] 0.10-2     GTK+ password dialog suitable for 
pn  keychain                      <none>     (no description available)
pn  libpam-ssh                    <none>     (no description available)

-- Configuration Files:
/etc/ssh/ssh_config changed [not included]

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Reply to: