Fedora Linux Support Community & Resources Center
  #1  
Old 23rd October 2009, 11:21 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 14,538
linuxfedorafirefox
Yum delays / pauses

Why on earth does yum take so long to finish checking for updates, or for that matter, doing anything at all? A simple command like yum check-update involves 4-5 minutes time, literally. Here's my example.
Quote:
yum clean all
yum check-update
blah.. blah.. blah..
....
koji-i386 | 2.5 kB 00:00
koji-i386/primary_db | 9.2 MB 00:05
rawhide/metalink | 14 kB 00:00
rawhide | 4.2 kB 00:00
rawhide/primary_db | 9.6 MB 00:06 <-- Hangs here for an eternity.
rpmfusion-free-rawhide | 3.8 kB 00:00
rpmfusion-free-rawhide/primary_db | 297 kB 00:00 <-- Hangs here for an eternity.
Seriously, what is it doing that takes so long? Database functions? This behavior is seen on a laptop (wireless) and a desktop (wired).
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #2  
Old 23rd October 2009, 11:30 AM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,109
linuxfedorafirefox
Stop moaning and install the fastest mirror plugin


Code:
su
yum install yum*fast*
  #3  
Old 23rd October 2009, 11:41 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 14,538
linuxfedorafirefox
Jeesh! This is like getting caught with my pants down I always use the fastestmirror plugin, except this time. Never even thought of it. Thanks for waking me up Leigh
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #4  
Old 23rd October 2009, 11:55 AM
Nokia Offline
Registered User
 
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286
linuxfedorafirefox
Also, when it happens while having fastestmirror installed:
Code:
su
service iptables restart
__________________
For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

SELinux User Guide

AutoPager
  #5  
Old 23rd October 2009, 12:07 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 14,538
linuxfedorafirefox
Thanks Nokia. Bookmarked for possible future reference.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #6  
Old 23rd October 2009, 01:07 PM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,109
linuxfedorafirefox
Quote:
Originally Posted by Nokia View Post
Also, when it happens while having fastestmirror installed:
Code:
su
service iptables restart
How does this help ?
  #7  
Old 23rd October 2009, 10:30 PM
Nokia Offline
Registered User
 
Join Date: Aug 2006
Location: /dev/realm/{Abba,Carpenters,...stage}
Posts: 3,286
linuxfedorafirefox
Quote:
Originally Posted by leigh123linux View Post
How does this help ?
Well, I didn't investigate it thoroughly but my guess is that it's TCP related. Happens every once in a while for about a month. Affects both yum and the feed reader. In worst case scenario the only running thing remained the radio. Restarting iptables fixed it. Restarting eth0 or NetworkManager or anything else related didn't change anything. Perhaps next time it happens I might have a little more time to spare troubleshooting it.
__________________
For safer browsing, use OpenDNS nameservers 208.67.222.222 and 208.67.220.220

SELinux User Guide

AutoPager
  #8  
Old 24th October 2009, 03:29 AM
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,665
linuxfedorafirefox
I noticed during the update yesterday that it was having a problem with the file on one mirror, so it went to another mirror for the file. This causes it to hang, but better it hang then download a bad file.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18/19, siduction and openSUSE Tumbleweed with KDE
  #9  
Old 24th October 2009, 05:05 AM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,715
linuxfedorafirefox
Hi,

If you are trying to figure out what it is doing, you can try something like

# yum -d9 update

-d9 = full debug output which is helpful at times
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
 

Tags
delays, pauses, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless pauses WTF hiberphoptik Servers & Networking 2 20th November 2007 01:57 PM
Xemacs pauses Crosskeys Using Fedora 0 15th November 2007 03:26 PM
pauses at eth0 mlow82 Hardware & Laptops 1 12th June 2005 03:02 AM
Network Pauses mrfusion2005 Servers & Networking 7 19th February 2005 09:02 AM
FC2 pauses LinuxHippy EOL (End Of Life) Versions 5 21st September 2004 11:51 PM


Current GMT-time: 13:13 (Friday, 18-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat