Bug 437335 - yum cannot allocate memory when running yum clean all
Summary: yum cannot allocate memory when running yum clean all
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-13 16:21 UTC by Matěj Cepl
Modified: 2018-04-11 11:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-20 05:52:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2008-03-13 16:21:57 UTC
Description of problem:



[root@hubmaier ~]# yum clean all
Loaded plugins: allowdowngrade, basearchonly, changelog, downloadonly,
              : protectbase, security
Cleaning up Everything
Error: Error accessing directory //var/cache/yum/development/packages, [Errno
12] Cannot allocate memory: '//var/cache/yum/development/packages'
[root@hubmaier ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vol0-log101
                       14G  8.5G  4.6G  66% /
/dev/sda1              76M   33M   40M  45% /boot
tmpfs                 992M  192K  992M   1% /dev/shm
/dev/mapper/vol0-log102
                       52G   46G  3.7G  93% /home
/dev/mapper/vol0-nbk   22G   19G  1.7G  92% /srv/notebook
/dev/mapper/vol0-logVar
                       20G  6.7G   13G  36% /var
/dev/sr0              3.2G  3.2G     0 100% /media/Fedora 8 i386 DVD
[root@hubmaier ~]# free
             total       used       free     shared    buffers     cached
Mem:       2030296    1869924     160372          0      55192     600968
-/+ buffers/cache:    1213764     816532
Swap:      1015800          4    1015796
[root@hubmaier ~]# 

Version-Release number of selected component (if applicable):
yum-3.2.12-3.fc9.noarch

How reproducible:
100%

Comment 1 Seth Vidal 2008-03-13 18:51:29 UTC
What's the filesystem type in /var?


Comment 2 Matěj Cepl 2008-03-19 19:54:22 UTC
[root@hubmaier ~]# mount |grep '/var '
/dev/mapper/vol0-logVar on /var type ext4dev (rw)
[root@hubmaier ~]# tune2fs -l /dev/mapper/vol0-logVar 
tune2fs 1.40.7 (28-Feb-2008)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          8f478d1d-ca0e-47be-af7d-1493a04ef809
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype
needs_recovery extents sparse_super large_file
Filesystem flags:         signed_directory_hash test_filesystem 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1316336
Block count:              5259264
Reserved block count:     262963
Free blocks:              3997445
Free inodes:              1276327
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1022
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8176
Inode blocks per group:   511
Filesystem created:       Tue Feb 12 17:37:03 2008
Last mount time:          Mon Mar 17 23:49:59 2008
Last write time:          Mon Mar 17 23:49:59 2008
Mount count:              56
Maximum mount count:      23
Last checked:             Tue Feb 12 17:37:03 2008
Check interval:           15552000 (6 months)
Next check after:         Sun Aug 10 18:37:03 2008
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:		  256
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      7cb3738d-e59d-468d-99a8-32e3a407c577
Journal backup:           inode blocks
[root@hubmaier ~]# 


Comment 3 seth vidal 2008-03-19 20:00:04 UTC
If you move /var/cache/yum to an ext3 partition does the problem vanish? If so,
can we bring an ext4 hacker into this bug for help?


Comment 4 Matěj Cepl 2008-03-19 20:07:30 UTC
Actually, I forgot to add the most important thing -- it happened once to me,
and I wasn't able to reproduce it since the filing of this bug.

Comment 5 seth vidal 2008-03-20 05:52:16 UTC
umm, yah.

I'm gonna close this worksforme, b/c it does - let me know if you can replicate it.




Note You need to log in before you can comment on or make changes to this bug.