Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the following situation with my CentOs 5.6 64 bit:

[root@host ~]# yum update
Loaded plugins: fastestmirror

..and thats it. Nothing comes back, ctrl+c does not have any effect, it's getting stuck.

Any thoughts what to look after?

share|improve this question
    
Adding -d9 says? –  Ignacio Vazquez-Abrams May 18 '11 at 22:42
    
Please do not edit questions to add new problems. Mark the correct answer to this question, then if you have a new problem ask a new question. I deleted your new question from this one, but you can recover it to copy and paste into a new question from the edit log. –  Caleb May 19 '11 at 11:19
add comment

2 Answers

try yum clean all first and then yum update

share|improve this answer
add comment

I'm guessing you are running a virtual machine or you are otherwise restricting yum's memory footprint.

If this is the case, you are simply running out of memory. You can try:

ulimit -m unlimited 
ulimit -v unlimited
yum --noplugins update

If that does not work, please post the output from top after pressing M to sort by memory utilization.

share|improve this answer
    
I would probably also want to add some swap space anyway, by creating a swapfile (dd if=/dev/zero of=/swapfile.dat bs=1k count=512000; mkswap /swapfile.dat; swapon /swapfile.dat), then adding it to /etc/fstab. –  lsd May 19 '11 at 0:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.