Re: yum / dist-upgrade / memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@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/



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux