Re: Why was oom-killer invoked?
- From: Bob Proulx <bob@xxxxxxxxxx>
- Date: Mon, 19 Mar 2012 22:59:04 -0600
tim truman wrote:
Please help me understand why oom-killer was invoked?
You already know that the reason is that your system was out of
memory. Why even ask.
The OOM killer is a terrible thing. I have ranted about it often.
Turning it off is the best way to avoid it.
I have previously ranted about this in some detail here:
http://lists.debian.org/debian-user/2007/08/msg00022.html
And more recently with a little more rationale here:
http://lists.debian.org/debian-user/2008/04/msg02554.html
From the SAR logs we can see that there is lots of memory in use by the
system cache, but free is low. How can we ensure there is more memory
available in free to avoid triggering oom-killer?
The easiest solution is to add swap space. That will increase your
virtual memory. Then you won't run out of memory and will avoid the
out of memory killer.
total used free shared buffers cached
Mem: 8115 7968 146 0 23 5575
-/+ buffers/cache: 2369 5745
Swap: 972 127 845
That is a very small amount of memory. I wouldn't have guessed that a
system could run with that small of memory these days.
Bob
Attachment:
signature.asc
Description: Digital signature
- References:
- Why was oom-killer invoked?
- From: tim truman
- Why was oom-killer invoked?
- Prev by Date: Re: vsftp problems (SOLVED)
- Next by Date: Re: "hostname" question during Debian installation
- Previous by thread: Re: Why was oom-killer invoked?
- Next by thread: apt-get will upgrade aptitude will not
- Index(es):
Relevant Pages
|