← Back to team overview

desktop-packages team mailing list archive

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

 

** Bug watch added: freedesktop.org Bugzilla #32183
   http://bugs.freedesktop.org/show_bug.cgi?id=32183

** Also affects: telepathy-gabble via
   http://bugs.freedesktop.org/show_bug.cgi?id=32183
   Importance: Unknown
       Status: Unknown

-- 
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 Jabber/XMPP connection manager:
  Unknown
Status in “telepathy-gabble” package in Ubuntu:
  Confirmed

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/telepathy-gabble/+bug/868617/+subscriptions


References