Package: emacs22
Version: 22.2+2-5
Severity: normal

Emacs 22 seems not to close TCP sockets for connections to X11 servers
that have died (as far as emacs is concerned). This leaves those
connections in CLOSE_WAIT state. Which consumes kernel ressources and
pushes emacs towards its maximum file descriptors limit, etc.

The exact scenario where I hit this bug is:

 - run an emacs on host A
 - "ssh -X" from B/C/D/... to A
 - open an emacs frame (e.g. through gnuclient or
   "M-x make-frame-on-display") on that SSH connection.
 - close that frame
 - close the SSH connection
 - emacs does not close the corresponding socket, and netstat shows
   the connection as CLOSE_WAIT.

Lather, rinse, repeat. Eventually, emacs cannot open files / network
connections anymore ("ulimit -n" limit reached).

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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common     22.2+2-5          The GNU Emacs editor's shared, arc
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgif4                4.1.6-6           library for GIF images (library)
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libncurses5            5.7+20090105-1    shared libraries for terminal hand
ii  libpng12-0             1.2.27-2          PNG library - runtime
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libtiff4               3.8.2-11          Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-1         X11 pixmap library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-17          Xaw3d widget set
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

emacs22 recommends no packages.

Versions of packages emacs22 suggests:
pn  emacs22-common-non-dfsg       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to