I can see this as well. netstat shows lots of connections kept in
CLOSE_WAIT state.

adding a backtrace at some random point I hooked into the process.

I hooked in a couple of times and it seems to always or most often work
in g_main_context_find_source_by_user_data()


My strace on gvfsd-http looks like

futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
brk(0x36b3000)                          = 0x36b3000
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
brk(0x36d4000)                          = 0x36d4000
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily 
unavailable)
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
brk(0x36f5000)                          = 0x36f5000
brk(0x36f4000)                          = 0x36f4000
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1
brk(0x3715000)                          = 0x3715000
futex(0x166aa70, FUTEX_WAKE_PRIVATE, 1) = 1


** Attachment added: "gdb backtrace at some random time"
   
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1174663/+attachment/3745600/+files/gdb.txt

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

Title:
  gvfsd-http eats 100% CPU

Status in “gvfs” package in Ubuntu:
  Confirmed

Bug description:
  Every now and then, I find that gvfsd-http is eating 100% CPU; I have
  to kill it manually. By having a look with strace I see an endless
  loop of

  poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
  recvfrom(18, "", 4, 0, NULL, NULL)

  I wonder whether this is happening because I set up a SOCKS proxy, and
  something similar to what is described in
  https://bugs.launchpad.net/ubuntu/+source/telepathy-
  gabble/+bug/1094032 is happening.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: gvfs-backends 1.16.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Tue Apr 30 10:53:24 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2012-07-23 (280 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MarkForUpload: True
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to raring on 2013-04-29 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1174663/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to