Yum cache size increases faster than expected due to a large amount of .sqlite files
Issue
-
Yum cache directory size increases faster than expected (/var/cache/yum/) due to a large amount of .sqlite files
-
The yum cache fills '/var', with an unexpectedly large amount of '.sqlite' files in the '/var/cache/yum/' directory.
For Example:
/var/cache/yum/rhel-i386-server-5# ls -ltrh
total 246M
drwxr-xr-x 2 root root 1.0K Jun 27 2008 headers
-rw-r--r-- 1 root root 25M Aug 11 17:24
884e1ab88b7ff9d73cb753b0ecf8a6b64d186f0d-primary.xml.gz.sqlite
-rw-r--r-- 1 root root 25M Aug 12 01:24
c0177689c2bd3e5f4d7d0bb83dbe6d1ff85a78e7-primary.xml.gz.sqlite
-rw-r--r-- 1 root root 25M Aug 12 09:24
87b643feda4ecb2501a148be00b8ca898fa5e61a-primary.xml.gz.sqlite
-rw-r--r-- 1 root root 25M Aug 13 17:02
4e16200c14addb78d8a990ab72451bf6e7dbb04e-primary.xml.gz.sqlite
Environment
- Red Hat Enterprise Linux 5.4
- Red Hat Enterprise Linux 5.5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
