Skip to content

Slow on RPi: manage retrievecontentpack download #5575

@holta

Description

@holta

Summary

Running "kalite manage retrievecontentpack download en" takes many hours/days to complete on KA Lite 0.17.4 (repeatedly over past weeks, on 2 different ISP's, Time Warner/Spectrum business line and AT&T DSL home line).

It sometimes begins quickly, but then progress takes about an hour to increase by each additional 1% step, such that the 0.9GB (929,916,955 bytes) en.zip file never downloads realistically.

The command-line workaround is to run the following 2 steps, which completes about 100X faster — in a few short minutes — instead of hours/days:

wget http://pantry.learningequality.org/downloads/ka-lite/0.17/content/contentpacks/en.zip
kalite manage retrievecontentpack local en en.zip

System information

  • Operating system: Raspbian Lite 2018-04-18 or Raspbian Lite 2018-06-27
  • Hardware: Raspberry Pi 3 B+
  • KA Lite Version: 0.17.4
  • ISP's confirmed to exhibit this problem:
    • Time Warner Spectrum cable business line: 87 mbit/sec down, 10mbit/sec up
    • AT&T DSL home line: 16 mbit/sec down, 1.5mbit/sec up

How to reproduce

  1. Install KA Lite 0.17.4 on Raspbian
  2. Run "kalite manage retrievecontentpack download en" over either ISP (AT&T or Time Warner/Spectrum)
  3. Observe that the download takes many hours (or several days) to complete.

Screenshots

Progress: [==========================                        ] (53%)root@raspber
root@raspberrypi:/home/pi#

Real-life consequences (anything community should be aware, for instance how it affects your deployment)

Internet-in-a-Box install scripts (http://download.iiab.io/6.6) have become unusable across major US ISP's (such as AT&T and Time Warner/Spectrum) that have this problem.

Time Warner/Spectrum has about 22 million broadband customers and AT&T has about 16 million broadband customers. It is possible that other US and int'l ISP's are affected as well. We have confirmed that Comcast customers (another major US ISP) are not affected to date.

Internet-in-a-Box (https://github.com/iiab) has documented the workaround for command-line-savvy users (at http://FAQ.IIAB.IO #27) under "Mandatory English Pack taking too long to download?"

However, sadly, many/most all others are giving up in frustration :(

Thanks @benjaoming for contacting me if there are more specific diagnostics we can ask implementers to provide, towards resolving this tedious-but-very-real-issue preventing people from using KA Lite!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions