[Bug 1171047] Re: update-manager times out checking for updates

William Grant me at williamgrant.id.au
Thu May 9 11:21:39 UTC 2013


Using -o Debug::Acquire::https=true I was able to discover the cause of
a big gap: near the end of the update it goes through all the archives
and spends several minutes silently trying to grab compressed ddtp
translations from all of them. Without debug logging it only logs the
final, uncompressed set.

I see it first probing for Translation-en.xz and Translation-en_AU.xz
for every archive, followed by the lzma versions, then gz, then
eventually the uncompressed variants. All of these 404, causing the SSL
connection to be renegotiated (my previous comment was incorrect; it
only reconnects on error, but there are so many unlikely probes that it
might as well reconnect every time). I have a few Humble Bundles
installed, for something like 25 private PPAs. 25 PPAs * 4 compression
algorithms * 2 languages == 200 requests just for Translation-*. Since
none of those 200 files exist, there's an SSL negotiation for every
single one, which is somewhere around a second from Australia. So
there's about four minutes there.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1171047

Title:
  update-manager times out checking for updates

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  I've bought a number of humble bundle games that were activated
  through the software centre, so I have quite a lot of sources in apt.
  The server that they come from is so terribly slow to fetch from that
  it causes the update manager to time out when checking for updates.

  See the attached file for the timestamped output from apt-get update,
  and you'll see that while it's generally slow (multiple seconds
  between requests once the normal speed ones are dealt with) there is
  one that takes about 12 minutes to respond at all (13:21:48 to
  13:34:12)

  This means that I can't update through the ubuntu update manager, nor
  does it tell me when updates are available.

  My internet is quite good, the first lot of sources complete in ~10
  seconds, the problem seems to be at the private-ppa.launchpad.net
  server end. However, this wouldn't be such an issue if the update
  manager didn't time out (but really the solution is to fix the apt
  servers.)

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: update-manager 1:0.185
  ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
  Uname: Linux 3.8.0-17-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8
  Aptdaemon:
   
  Architecture: amd64
  Date: Sun Apr 21 13:39:54 2013
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1366195146'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'470'
   b'com.ubuntu.update-manager' b'window-width' b'583'
  InstallationDate: Installed on 2011-04-26 (725 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to raring on 2013-04-13 (7 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1171047/+subscriptions




More information about the foundations-bugs mailing list