yum times out frequently - socket timeout value too low?

Matthew Miller mattdm at mattdm.org
Mon Jun 20 14:03:32 UTC 2005


On Sun, Jun 19, 2005 at 07:54:24PM +0800, Msquared wrote:
> I am using a 28800bps modem connection to the internet, and I frequently
> get this error when fetching the filelists and so on, especially on large
> filelists.xml.gz files:
>   http://ftp.udl.es/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
>   Trying other mirror.
> It will try a whole lot of mirrors, each generating the same error
> message, before I will give up and fetch the .xml.gz files manually via
> wget.  After I do this, the rest of the updates work fine.
> Is there somewhere I can tweak the network timeout parameters for yum?

There's an undocumented "timeout" option -- put "timeout=40" in
/etc/yum.conf. (Or try even higher.)

Please let me know if this helps.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 76 degrees Fahrenheit.




More information about the fedora-list mailing list