Search This Blog


Linux Out Of Memory Management (Killer)

A summary of what an out of memory condition is is as follows:
  • Linux over allocates memory to processes VSZ giving them more than what they need.
  • It overcommits this memory allowing a larger VSZ than total memory availble
  • This generally isnt a problem since linux doesnt generally use up all the allocated memory
  • If processes actually require more memory than is available (due to their over allocation) it will kill "unimportant" processes to free memory and keep the system running

The messages for OOM killer can be found in:
Normally with the following keywords:
Out of Memory: Killed process

There are methods to mitigate the actions of OOM killer to prevent it from killing certain processes which can be found: and here

The OOM calculator calculates using the following method:


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.