2
votes
0answers
192 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 ...
0
votes
1answer
253 views

Android java build drained 8GB of memory [closed]

I build Android-4.0.4 for odroid-x on a lenovo x220 core i7 8GB of RAM running Linux Mint 12 (Ubuntu-11.10). I start 5 jobs to build, and after a while OOM triggers and kills dozen of processes until ...
3
votes
2answers
472 views

Ubuntu how to detect if OOM killer have run

We use Nagios to monitor our servers. Now.. linux uses all the RAM we give them so there is no way to detect if we are about to run out of memory. We have a couple of times had some server crashes due ...
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 ...
0
votes
1answer
671 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 ...
0
votes
1answer
734 views

Java / JBoss 5.1.0 triggers OOM Killer

I'm running a CentOS centos-release-6-0.el6.centos.5.x86_64 (2.6.32-71.29.1.el6.x86_64) box with 32GB RAM and 6 vCPUs as a virtual machine. Java is running in version Java(TM) SE Runtime Environment ...
1
vote
3answers
427 views

monitoring when a process starts using too much memory

I have a Debian server where some processes going rogue from time to time and start consuming too much memory. How I could monitor this at process level so I can set an alarm? Currently I monitor when ...
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 ...
26
votes
3answers
16k 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 ...