LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-04-2012, 04:05 AM   #1
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware 14, Debian 7, FreeBSD, OpenBSD
Posts: 182

Rep: Reputation: 35
Yum malloc error in tiny VPS


[moved from Forums->Virtualization]

Several months ago, I bought a small VPS with memory capped at 128MB, bursts to 256MB. It runs CentOS 5. I have no support and self-manage it. Up to now, yum updates have proceeded smoothly.

Now, yum wants to update glibc, which includes -common, -headers, -dev and a couple of others. It fails with a malloc error. I assume it runs out of memory due to the hypervisor denying it any more.

I thought perhaps I would use rpm --nodeps to install each package separately and so work around the memory limit, but rpm just hangs. /var/log/yum.log does not show any entry.

How can I work around a tiny memory limit? Should I even be attempting to update glibc on a hosted VPS?

Thanks.
 
Old 03-04-2012, 07:40 AM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
The CentOS updates stream contains bug fixes and more importantly security patches; thus, I would recommend applying any updates available. The minimum requirements for CentOS 5 256MB, so your are cutting it close. May be you could request a temporary increase of RAM from your VPS provider so you can get the updates installed. Other than that, upgrade to the next package they offer.
 
  


Reply

Tags
centos5, vps, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum malloc error in tiny VPS padeen Linux - Virtualization and Cloud 0 02-29-2012 07:50 PM
VPS and Yum Update tolkali1970 Linux - Server 2 04-24-2010 09:58 PM
malloc error :( studentlb Programming 3 11-07-2006 09:59 AM
malloc error: glibc vdhussa Linux - General 10 05-31-2006 10:47 AM
gdbm malloc error Sammy2ooo Linux - Software 0 11-07-2003 05:50 AM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration