Yum caches consuming /var after 5.7 update

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Yum caches consuming /var after 5.7 update
# 1  
Old 08-08-2011
Yum caches consuming /var after 5.7 update

Hi. We have several hundred servers that recently received the Red Hat Enterprise Linux 5.7 update. One of the differences we noticed is that the yum caches are consuming more space than they were before. The issue appears to be the existence of caches that did not exist prior to the update, and they exist in all four cache directories:

Code:
-rw-r--r-- 1 root root  30832046 Aug  5 05:26 filelists.xml.gz
-rw-r--r-- 1 root root 160432128 Aug  7 12:01 filelists.xml.gz.sqlite
-rw-r--r-- 1 root root  87140371 Aug  5 05:26 other.xml.gz
-rw-r--r-- 1 root root 365091840 Aug  7 12:02 other.xml.gz.sqlite

Comparing this to the 5.6 systems we still have:

Code:
/var/cache/yum/rhel-x86_64-server-5:
cachecookie  packages        primary.xml.gz.sqlite  updateinfo.xml.gz
comps.xml    primary.xml.gz  repomd.xml

/var/cache/yum/rhel-x86_64-server-supplementary-5:
cachecookie  comps.xml  packages  primary.xml.gz  primary.xml.gz.sqlite  repomd.xml

/var/cache/yum/rhel-x86_64-server-vt-5:
cachecookie  comps.xml  packages  primary.xml.gz  primary.xml.gz.sqlite  repomd.xml

/var/cache/yum/rhn-tools-rhel-x86_64-server-5:
cachecookie  packages  primary.xml.gz  primary.xml.gz.sqlite  repomd.xml

Reviewing the Red Hat release documentation for 5.7 revealed nothing about this change, and neither did the official yum documentation for this release.

Cleaning out the caches will only remove them temporarily. After a check-in with the RHN satellite, they build back up. Has anyone else experience this behavior or do you know why these new cache files appeared with 5.7? Smilie

Thanks.

Update: This is a reported bug, https://bugzilla.redhat.com/show_bug.cgi?id=729657

Last edited by indiana_tas; 08-16-2011 at 03:38 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Fedora

Yum update error

Hello, I issued # yum update and received below error. Any idea? # yum update Loaded plugins: fastestmirror, universal-hooks Setting up Update Process Loading mirror speeds from cached hostfile * cpanel-addons-production-feed: 204.10.37.146 * base: mirrors.oit.uci.edu * extras:... (3 Replies)
Discussion started by: feroccimx
3 Replies

3. Red Hat

Specify version in yum update

Hello All, I am trying to upgrade redhat from 5.6 to 5.8. When i use Code: yum update -y it installs 5.9 I dont want 5.9, instead i would like to upgrade to 5.8 is there anyway to specify a version when you are doing Code: yum update (4 Replies)
Discussion started by: adam25ca
4 Replies

4. Shell Programming and Scripting

Yum update using expect

Hi, I have an expect script which connects to whatever Ip is passed to it. It performs a variety of tasks, all of which it completes fine except for the yum updates. For some reason it sends commands early, during the yum update. Any ideas? Thanks. (2 Replies)
Discussion started by: meor
2 Replies

5. Red Hat

[Errno 22] invalid mode ('w') or filename: '//var/lib/yum/rpmdb-indexes/conflicts.tmp'

Can anyone help me with this error? sudo yum install perl-Gtk2-WebKit Loaded plugins: langpacks, presto, refresh-packagekit, versionlock Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package perl-Gtk2-WebKit.i686 0:0.09-1.fc15 will be installed -->... (0 Replies)
Discussion started by: cokedude
0 Replies

6. Red Hat

Yum Update and Kernels

I have a server running CentOS 5 and when yum update is run and a new kernel is installed and there are more then 3 kernels installed the oldest ones are removed. Anyway to achieve this with CentOS 4? Matt (1 Reply)
Discussion started by: lforum
1 Replies

7. Linux

Yum update/install script

Any one know of a way to do a yum -install and draw the argument of what to install from a text file? I have a huge list of rpms that I have to install on a bunch of machines and I would like to run one script that goes to each machine and installs all rpms in the list I have. (2 Replies)
Discussion started by: rd42
2 Replies

8. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

9. Red Hat

Yum Update

I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies

10. Linux

update packages with yum

Hello Is there a way to update a package to a specific version with yum? So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated. Thanks! (1 Reply)
Discussion started by: garskoci
1 Replies
Login or Register to Ask a Question