LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2009, 07:47 AM   #1
asanders
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Cool Info on the OOM error


Good day

I am current running rhel4 ES, and as of lately i have been getting
and out of memory error In general, the out of memory killer (oom-killer) begins killing
processes, even on servers with large amounts (6Gb+) of RAM. In many
cases people report plenty of "free" RAM and are perplexed as to why the
oom-killer is whacking processes. Indications that this has happened
appear in /var/log/messages:
Out of Memory: Killed process [PID] [process name].

any suggestion


Art
 
Old 04-11-2009, 01:09 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,295

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
What services are the server(s) running? Obviously, after oom-killer runs there will be plenty of memory, but it only runs when the system runs out of memory.
Do you have any swap, how much?
You need to look eg in /var/log/messages, and /var/log generally to see what the system was doing just before oom-killer kicked in.

You could also get logwatch to warn you of various things eg nearly out of swap....
 
Old 04-11-2009, 02:43 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,177

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Memory ain't just memory - in 32-bit Linux, there are zones that need to be considered. In your case almost certainly "low" memory below 1 Gig.

Best (easiest ?) solution is to go x64 - in all likelihood all your oom-kills will disappear.
 
  


Reply


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
OOM on linux linux_@dmin Linux - Server 4 12-30-2008 07:54 AM
UDEV error [1280] ... OOM: no such file or directory. bastl Linux - Software 0 12-29-2008 11:15 AM
oom-killer on RHEL5.2 jaiarunk_s Linux - Server 3 12-12-2008 07:54 PM
Kernel OOM killing more than it should snipersock Linux - Software 1 12-01-2004 08:03 PM
OOM has gone all tantric on me rafe Programming 1 09-10-2002 04:48 PM


All times are GMT -5. The time now is 02:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration