Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-04-2012, 03:05 AM   #1
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware 14, Debian Sid, FreeBSD 10, OpenBSD
Posts: 190

Rep: Reputation: 36
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?

Old 03-04-2012, 06:40 AM   #2
harry edwards
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.


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 06:50 PM
VPS and Yum Update tolkali1970 Linux - Server 2 04-24-2010 08:58 PM
malloc error :( studentlb Programming 3 11-07-2006 08:59 AM
malloc error: glibc vdhussa Linux - General 10 05-31-2006 09:47 AM
gdbm malloc error Sammy2ooo Linux - Software 0 11-07-2003 04:50 AM

All times are GMT -5. The time now is 07:58 PM.

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