← Back to team overview

desktop-packages team mailing list archive

[Bug 868617] [NEW] [telepathy-gabble] Process takes 100% CPU, polling closed sockets.

 

Public bug reported:

arcadia:~# lsof -np 9041 | grep -e 9u -e 10u
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/cheako/.gvfs
      Output information may be incomplete.
telepathy 9041 cheako    9u  IPv4    6090575      0t0     TCP 192.168.172.26:41507->192.168.172.100:9050 (CLOSE_WAIT)
telepathy 9041 cheako   10u  IPv4    6090576      0t0     TCP 192.168.172.26:41508->192.168.172.100:9050 (CLOSE_WAIT)
arcadia:~# strace -p 9041 2>&1 | head
Process 9041 attached - interrupt to quit
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0)                       = 0
recv(10, "", 4, 0)                      = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0)                       = 0
recv(10, "", 4, 0)                      = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
recv(9, "", 4, 0)                       = 0
recv(10, "", 4, 0)                      = 0


Firstly it should give up and drop back to select style operation.  Secondly, and perhaps more apparent, it should remove the CLOSE_WAIT sockets and reconnect.

It's worth noting that 192.168.172.100:9050 is a socks5 server.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: telepathy-gabble 0.13.5-0ubuntu2
ProcVersionSignature: Ubuntu 3.0-2.3-generic-pae 3.0.0-rc4
Uname: Linux 3.0-2-generic-pae i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Wed Oct  5 13:34:14 2011
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: telepathy-gabble
UpgradeStatus: Upgraded to oneiric on 2011-06-23 (104 days ago)

** Affects: telepathy-gabble (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to telepathy-gabble in Ubuntu.
https://bugs.launchpad.net/bugs/868617

Title:
  [telepathy-gabble] Process takes 100% CPU, polling closed sockets.

Status in “telepathy-gabble” package in Ubuntu:
  New

Bug description:
  arcadia:~# lsof -np 9041 | grep -e 9u -e 10u
  lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/cheako/.gvfs
        Output information may be incomplete.
  telepathy 9041 cheako    9u  IPv4    6090575      0t0     TCP 192.168.172.26:41507->192.168.172.100:9050 (CLOSE_WAIT)
  telepathy 9041 cheako   10u  IPv4    6090576      0t0     TCP 192.168.172.26:41508->192.168.172.100:9050 (CLOSE_WAIT)
  arcadia:~# strace -p 9041 2>&1 | head
  Process 9041 attached - interrupt to quit
  poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
  recv(9, "", 4, 0)                       = 0
  recv(10, "", 4, 0)                      = 0
  poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
  recv(9, "", 4, 0)                       = 0
  recv(10, "", 4, 0)                      = 0
  poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}], 5, -1) = 2 ([{fd=9, revents=POLLIN}, {fd=10, revents=POLLIN}])
  recv(9, "", 4, 0)                       = 0
  recv(10, "", 4, 0)                      = 0

  
  Firstly it should give up and drop back to select style operation.  Secondly, and perhaps more apparent, it should remove the CLOSE_WAIT sockets and reconnect.

  It's worth noting that 192.168.172.100:9050 is a socks5 server.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: telepathy-gabble 0.13.5-0ubuntu2
  ProcVersionSignature: Ubuntu 3.0-2.3-generic-pae 3.0.0-rc4
  Uname: Linux 3.0-2-generic-pae i686
  ApportVersion: 1.23-0ubuntu2
  Architecture: i386
  Date: Wed Oct  5 13:34:14 2011
  ProcEnviron:
   LANGUAGE=en
   PATH=(custom, no user)
   LANG=C
   SHELL=/bin/bash
  SourcePackage: telepathy-gabble
  UpgradeStatus: Upgraded to oneiric on 2011-06-23 (104 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/telepathy-gabble/+bug/868617/+subscriptions


Follow ups

References