The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cpu, memory and virtual memory usage ocelot UNIX for Dummies Questions & Answers 4 12-01-2008 07:57 AM
ulimits max locked memory virtual memory big123456 AIX 5 08-12-2008 12:22 PM
Virtual Memory Kurohana HP-UX 3 11-09-2007 05:54 PM
about virtual memory and memory leak shriashishpatil High Level Programming 4 02-20-2006 11:31 AM
virtual memory big123456 UNIX for Dummies Questions & Answers 2 10-10-2005 02:21 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-01-2009
scriptingmani scriptingmani is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 17
Virtual Memory issue

Hi all,

I was compiling my glibc 2.6.1 source files on a new kernel 2.66.22.6 and it seems that i am running into issues with the Virtual Memory. It displays the error message:

virtual memory exhausted: Cannot allocate memory‏

I saw an article on how to adjust the parameters but i can't make sense of the numbers and what they mean and nor does the article describe them like vm.dbflush value etc.

Anyone give an easy view of this?

your help would be much appreciated.

Mani
  #2 (permalink)  
Old 07-01-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,800
Which Linux?
  #3 (permalink)  
Old 07-02-2009
scriptingmani scriptingmani is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 17
Hi,

Its called JDS Linux from Sun Microsystems, not sure of you heard of it. It was quite old and i wanted to install Firefox, which said my glibc was out of date. looking at the pre-reqs i needed to update a lot of things of and after that was a mutexlock error while compiling glibc and that led me to update the Kernel to 2.6.22.6 now i am getting this VM error.

Any ideas? still reading on the net for VM settings but so far it seems like a black art.

Mani
  #4 (permalink)  
Old 07-09-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,969
Might also be useful tok now what's eating all the memory, try 'ps aux | less'.
  #5 (permalink)  
Old 07-11-2009
dnbert dnbert is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 13
Indeed, I would suggest identifying what is first using most of your memory.

Something like a free -m, first off will give the general idea of how much memory you already are working with while doing a top -c and shift + m before evening running the install will see specifically what is eating most of your memory up.

From there you can disable the processes that are eating up most of the memory. If there is a redundant process or something that is spawning more children than normal you can run:

ps aux | awk '{print $1}' | sort | uniq -c | sort -k1 -g

or

ps aux | awk '{print $11}' | sort | uniq -c | sort -k1 -g

If you could shoot me the results, I can take a look for ya, but they're pretty obvious.
  #6 (permalink)  
Old 07-11-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 366
One thing I must add, that using older distributions, especially ones that seem to have spurious support is never a good idea. Sun ditched the Java Desktop a while back and I think that you may have encountered what will be one of many issues you might face.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0