On Thu, Jun 30, 2011 at 12:06 PM, ken <gebser at mousecar.com> wrote: > On 06/29/2011 07:58 AM ken wrote: > > Trying to update a second CentOS box, I'm getting this error repeatedly: > > > > [Errno 4] Socket Error: timed out > > > > I'm getting this on every mirror and have gone through the list of > > mirrors more than a dozen times. > > > > Oddly, the RPMs I'm trying to upgrade I upgraded just yesterday without > > a problem on another machine on the same LAN with no problems > > whatsoever. I can ping mirrors fine. > > > > There were a spate of these errors back in 2006. The fix for many was > > to add this line to yum.conf: > > > > timeout=300 > > > > So I did that on the machine where yum is having the problem, but the > > same errors are returned. > > > > Anyone else seeing this? Anyone know what the problem is? > > So I tried using wget to download RPMs from a few mirrors. I was able > to successfully one whose size is about 5.5M, but the others all stop > downloading around 1M. Then I tried ftp... same deal. This might be > the reason for the "socket error" in yum. > > I don't have quotas set on this machine. selinux is on, but it's been > on for years... why should it start interfering now? I'm downloading > into /tmp where security settings are standard (user_u:object_r:tmp_t). > > Fire up tcpdump/wireshark and record the TCP connection then analyze it with Wireshark and you can check for retransmissions, etc. A while ago I had to add the following to my Fedora 13/14 system to download from some sites. /etc/sysctl.conf: net.ipv4.tcp_timestamps = 0 -- Giovanni Tirloni -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110630/97037ac2/attachment-0005.html>