yum / dist-upgrade / memory

Reindl Harald h.reindl at thelounge.net
Thu May 26 13:17:27 UTC 2011



Am 26.05.2011 14:51, schrieb Jonathan Dieter:
> On Thu, 2011-05-26 at 14:35 +0200, Reindl Harald wrote:
>> Am 26.05.2011 13:45, schrieb Michael Schwendt:
>>> On Thu, 26 May 2011 13:37:15 +0200, RH wrote:
>>>
>>>> some minutes ago i tried a dist-upgrade F14->F15 per yum on
>>>> a virtual machine with 512 MB RAM
>>>>
>>>> not enough memory?
>>>
>>> Can you reproduce after removing the "yum-presto" plugin package?
>>
>> sorry, to late :-(
>>
>> upgrade finished with 768 MB RAM
>> this weekend we are going to F14 and F15 has some time left
>> for us and i thought i will report this in the hope it will
>> not be triggered dec/jan on the production machines
>>
>> this F15 test was for test if RAID1/RAID10 are living after
>> a dist-upgrade because i get a new machine soon :-)
> 
> The problem is that yum-presto can be a bit of a memory hog (or, more
> accurately, deltarpm is).  When you do this in Dec/Jan, you either need
> to disable to yum-presto plugin, or, if you're normally short on RAM
> and/or have a fast mirror, remove it completely.

ok, good to know

if it is the presto it would not affect the production server
they have no yum-plugins and using only an internal cache-repo
on the same vmware-ESXi-host which is refreshed from /var/cache/yum
on this machine

[root at buildserver:~]$ cat /buildserver/repo-cache.sh
#!/bin/bash
basearch=`uname -i`
releasever=`rpm -q --qf "%{version}\n" fedora-release`
for g in `ls -1b /var/cache/yum`
do
 if [ -d /var/cache/yum/$g/packages ]
 then
  echo "/var/cache/yum/$g/packages/ > /repo/cache/fc$releasever/"
  sudo cp --verbose /var/cache/yum/$g/packages/*.rpm /repo/cache/fc$releasever/ 2> /dev/null
 fi
done
sudo chown -R builduser:builduser /repo/cache/fc$releasever/
sudo chmod -R 755 /repo/cache/fc$releasever/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110526/86f1b19e/attachment.bin 


More information about the devel mailing list