5
votes
4answers
776 views

Linux oom situation

I have continous oom&panic situation unresolved. I am not sure system fills up all the ram (36GB). Why this system triggered this oom situation? I suspect it as related to lowmem zone in 32 bit ...
2
votes
0answers
164 views

Why can't I malloc as much memory as `free` reports as being free?

The following C program allocates slices of 10MB of memory until it is killed by the Out of Memory killer. #include <stdio.h> #include <stdlib.h> #include <string.h> #include ...
5
votes
3answers
698 views

Why are applications in a memory-limited LXC container writing large files to disk being killed by the OOM?

EDIT2: This problem appears to exist as well under 3.8.0-25-generic #37-Ubuntu SMP EDIT: I modified the question from the original title of "Why would the Linux Out of Memory manager be triggered by ...
0
votes
1answer
52 views

nginx / mod_passenger on linode instance with oom messages - where to look next?

I am running an Ubuntu Server that is starting to have problems. It's very lightly used but am confused to why it is now having memory issues. I've included some of the output from syslog and free -m. ...
0
votes
1answer
1k views

An oom killer that I cannot explain

I am not able to understand why would kernel issue this oom killer when I see enough memory is available: I say enough memory is available after looking at Normal DMA Normal free lines This is an ...
2
votes
2answers
965 views

Why is OOM killer hitting here

We have some VMs running kernel 2.26.26-2 under xen 4.0.3 with different CPU and RAM amounts and on some seeing almost random OOM events each rendering the VM unusable. Output is as follows, I have ...
6
votes
2answers
2k views

How do I prevent Linux from freezing when out of memory?

Today I (accidentally) ran some program on my Linux box that quickly used a lot of memory. My system froze, became unresponsive and thus I was unable to kill the offender. How can I prevent this in ...
1
vote
1answer
388 views

How to find which cgroup caused OOM?

I'm using cgroup to partition my processes and I'm getting Out Of Memory messages in my kernel logs. However, I can't find which partition causes them. I've checked the memory controller cgroup but ...
6
votes
3answers
8k views

OOM killer killing things with plenty(?) of free RAM

The OOM killer seems to be killing things despite having more than enough free RAM on my system: (Full resolution) (Full resolution) 27 minutes and 408 processes later, the system started ...
0
votes
1answer
636 views

Linux oom-killer kills Jboss on Ubuntu Server (hosted Amazon EC2)

We having some trouble with oom-killer and JBoss on Ubuntu Server. What I want to know is if there a way to avoid this with extra parameters passed to the JVM or to JBoss? On the other hand, do you ...
2
votes
1answer
925 views

Using linux oom_score_adj to aim the oom daemon at the right target

On Ubuntu 11.04, /proc/[pid] contains oom_score_adj, but man proc describes the old oom_adj. What I need to arrange is that processes started by 'pbs' or 'gridengine' are killed before anything else ...
2
votes
1answer
211 views

Weird console problem in linux, usually right before OOM

So I've noticed this happen more than once. If I remember correctly, this usually happens right before OOM, and/or kernel panic that if you type into a tty and then try to backspace it, the same ...
4
votes
2answers
730 views

OOM killer goes insane

On our cluster we would sometimes have nodes go down when a new process would request too much memory. I was puzzled why the OOM killer does not just kill the guilty process. The reason turned out to ...
0
votes
1answer
395 views

Xen 4.0.1 Dom0 draws too much memory by nothing apparent - ooms out when streched under 900 MB

Greetings, I've setup a new ubuntu 10.10 server for xen 4.0.1, though it included kernel compilation (creating PVOPS 2.6.32 kernel) and all the stuff by their guide - (generally include xen and ...
4
votes
3answers
7k views

what do these messages suggest (linux kernel dump, seems OOM)?

I got the following errors from system log (/var/log/messages). what they indicate? And how to solve them? Sep 30 05:19:35 node23 kernel: Mem-info: Sep 30 05:19:35 node23 kernel: Node 0 DMA per-cpu: ...
7
votes
1answer
1k views

Forensic Analysis of the OOM-Killer

Ubuntu's Out-Of-Memory Killer wreaked havoc on my server, quietly assassinating my applications, sendmail, apache and others. I've managed to learn what the OOM Killer is, and about its "badness" ...
4
votes
5answers
2k views

Prevent Linux's OOM from killing apache on our webserver

We have a debian linux webserver. It's just running apache2. Our mysql server is on another host. However we sometimes run cron tasks on the webserver to do regular tasks. However recently one of the ...
23
votes
3answers
15k views

Turn off the Linux OOM killer by default?

The OOM killer on Linux wreaks havoc with various applications every so often, and it appears that not much is really done on the kernel development side to improve this. Would it not be better, as a ...