Advanced

What is the OOM Killer on Linux?

Posted by RoseHosting on · Post a comment
RoseHosting Blog; By Jeff Wilson
Mail this story
Print this story

OOM killer is a shortcut to Out of Memory Killer and is a Linux component designed to prevent RAM exhaustion. The OOM Killer has one task, and that task is to check if there is enough available memory, and if there is not, then select a process to kill to free up some RAM. The situations with exhausted memory occur because the Linux kernel has over-allocated too much for its processes.

This tutorial is about the OOM killer and how it can impact our Linux operating system.

OOM killer is a shortcut to Out of Memory Killer and is a Linux component designed to prevent RAM exhaustion. The OOM Killer has one task, and that task is to check if there is enough available memory, and if there is not, then select a process to kill to free up some RAM. The situations with exhausted memory occur because the Linux kernel has over-allocated too much for its processes. In the following paragraphs, we will talk about memory over-allocation, the lifecycle of the OOM killer, how it selects which process should be killed, the OOM killer messages, etc.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post