This discussion is archived
6 Replies Latest reply: Apr 27, 2013 4:44 PM by Dude! RSS

Issues with public-yum.oracle.com?

1005729 Newbie
Currently Being Moderated
Over the last two days, I've been having a very difficult time yum updating from Oracle's public-yum.oracle.com repo. Most of the errors look like the one below; requests either time out or fail with 0 byte results. I've seen errors like this on occasion, but since yesterday I've not been able to get any of my machines updated due to the frequency of them. I've experienced the same results from my work internet connection as well as my home connection, so I'm pretty confident it's not a networking issue. Is anyone else seeing this?

# yum -y update
Loaded plugins: refresh-packagekit, security
ol6_UEK_latest | 1.2 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
  • 1. Re: Issues with public-yum.oracle.com?
    TommyReynolds Expert
    Currently Being Moderated
    [http://public-yum.oracle.com|http://public-yum.oracle.com] is being upgraded to bigger, faster hardware to accommodate the current load.

    Please standby.
  • 2. Re: Issues with public-yum.oracle.com?
    1005729 Newbie
    Currently Being Moderated
    Thank you! Are there plans to make more mirrors available as well? I spot checked a few that are listed, but the ones in the US didn't look current.
  • 3. Re: Issues with public-yum.oracle.com?
    Avi Miller Guru
    Currently Being Moderated
    roadgeek wrote:
    Thank you! Are there plans to make more mirrors available as well? I spot checked a few that are listed, but the ones in the US didn't look current.
    You can create your own. If you have ULN access, use http://www.oracle.com/technetwork/articles/servers-storage-admin/yum-repo-setup-1659167.html otherwise search the forum for Alvaro's script or use something like Spacewalk, Mrepo or Pulp.
  • 4. Re: Issues with public-yum.oracle.com?
    Dude! Guru
    Currently Being Moderated
    Is downloading the complete public yum repository via the Internet a good solution? Isn't the Oracle public yum server already slow and won't downloading the whole enchilada make it even worse?

    The base repositories can easily be copied from the installation DVD, but the latest repositories are several times larger than the base repositories and contain many packages and versions of packages that most users will not need. Is downloading the complete latest repository a good idea?

    During its normal use YUM maintains a local cache of repository metadata. It's the downloading and maintaining of the metadata cache that is the most annoying and causing the unusual delays, in particular with the huge latest repository. It is even necessary when not installing any software and just checking for available packages. I think the default time to live of the local yum cache should be increased. It might make sense to increase the metadataexpire parameter, the default is only 1.5 hours.
  • 5. Re: Issues with public-yum.oracle.com?
    Avi Miller Guru
    Currently Being Moderated
    Dude wrote:
    Isn't the Oracle public yum server already slow and won't downloading the whole enchilada make it even worse?
    Downloading once a day from a single server is way better than having all your servers update themselves from public-yum.oracle.com, both from your perspective and ours. Also, all the sync scripts work serially, which means they're only downloading a single file at a time. Which is fine. :)

    Having a local yum repository also solves the metadata issue as you'd be downloading and running the metadata locally. Also, we store ALL the packages ever released in our _latest channels, which makes the metadata much larger than your mirror needs to be. A local ULN mirror only stores the latest packages by default.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
  • 6. Re: Issues with public-yum.oracle.com?
    Dude! Guru
    Currently Being Moderated
    Yes, but isn't that true only after the GB's of data have already been downloaded? How long will the initial creation of the repository take using the public yum server, in particular if the service is already slow and causing timeouts?

    What I'm saying is that if there are performance issues with the public yum service than starting to download the complete repository, in particular the _latest repository, is not a good solution. However, I guess you cannot prevent anyone form creating a script or downloading the complete thing.

    To increase the metadata_expire parameter might be more efficient in some scenarios.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points