Slow connection for updates with YUM/APT.

Discussion in 'Installation/Configuration' started by mpl, Dec 29, 2010.

  1. mpl

    mpl New Member

    Hello All! I searched but could not find anything on this subject. My apologies if this is off forum but...
    Is it normal for packages to start to download at 500+K/sec and quickly drop to around 2K to 3K for the rest of the download? I have had this problem with both YUM and APT. I am on a fast broadband connection and can stream video, download programs for windoz, etc. at rates normally between 200 and 400KB/sec. Just curious if anyone has run into this and something can be done to improve the package upgrade speeds on my linux boxes.

    P.S. I have tried a few other mirrors in both Debian and Centos but have noticed the same behavior.

    Thanks in advance,
    Mike
     
  2. Hi Mike

    Do you have any traffic shaping/throttling enabled?
     
  3. mpl

    mpl New Member

    Forgive my ignorance but would this be a function of my router or Linux setting? How can I check?
    Thanks for the help!
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Yes, this could be a router setting.

    What's the output of
    Code:
    iptables -L
    ?
     
  5. mpl

    mpl New Member

    Hello Falco,
    Here you go. Anything jump out here?

    ispconfig:/home/michael# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    Thanks for your help
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Hm, looks ok, but you could turn off fail2ban for testing purposes to see if that changes anything. If it doesn't, it's probably a router setting.
     
  7. mpl

    mpl New Member

    Thanks Falco! I doubt it is fail2ban as I noticed this behavior during the Deb netinstall prior to installation of fail2ban ;) Most likely router related. Do you have any troubleshooting tips or Sugestions?
     
  8. falko

    falko Super Moderator ISPConfig Developer

    I don't know your router model, so you may have to consult the manual for your router (or do some trial and error).
     

Share This Page