LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2012, 09:44 PM   #1
hellolqs
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Rep: Reputation: Disabled
Linux terminates processes when out of system ram..?


Hi all,

I learned that when Linux ran out of system memory, it will start to terminate its processes to gain back some more resources. I hope to have some more information about this, but I am not sure where I may find related and reliable resources at this movement. Could anyone suggest..?

Especially, I would hope to know: Will the purged process exit with a specific error code? Will any error messages been outputted to indicate some processes were just terminated due to lack of system memory.

Thanks in advance!
~lqs
 
Old 10-16-2012, 10:23 PM   #2
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Yes oom killer will show in dmesg or /var/log/messages saying it killed a process.

out of memory killer

-Tristan
 
Old 10-18-2012, 02:27 AM   #3
hellolqs
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by trist007 View Post
Yes oom killer will show in dmesg or /var/log/messages saying it killed a process.

out of memory killer

-Tristan
Thanks again for your help!!
 
  


Reply



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
[SOLVED] processes in RAM memory.... prashant_ragi Linux - Newbie 2 08-02-2012 12:03 AM
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
How do I keep an executable from terminates after the initiating shell terminates mr.v. Linux - Newbie 8 01-20-2007 02:47 AM
small ram and too many processes gabsik Linux - Software 8 01-15-2007 09:50 AM
Problem with background processes dying when internet connection terminates TrulyTessa Linux - General 2 12-04-2004 10:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:52 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
Open Source Consulting | Domain Registration