The tag has no wiki summary.

learn more… | top users | synonyms

9
votes
4answers
470 views

How to use kdump/crash to investigate an OOM issue?

The problem A server crashed after multiple "Out of memory" messages and I am trying to pinpoint the culprit. If it is in userland - which process. If it is in the kernel - which kernel module. ...
0
votes
1answer
39 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
111 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 ...
4
votes
1answer
144 views

Disable Linux kernel from killing postgresql process

I have standard 'out-of-the-box' installation of Linux version 3.0.1.stk64 (dfn@localhost.localdomain) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Sat Aug 13 12:53:46 EDT 2011 It ...
0
votes
2answers
326 views

Why malloc() can return NULL if Linux has 20G of 'cached' memory as shown in `top`? [closed]

My application randomly returned OOM errors trying to allocate 16M chunks, while Linux had plenty memory used by disk cache (20G). Swapping disabled. All OS limits seem fine. After clearing Linux ...
2
votes
2answers
219 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
582 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
1answer
487 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
719 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
228 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 ...
2
votes
3answers
103 views

MySQL - Identifying a never ending, server crashing query

My server keeps crashing from OOM errors cause by MySQL. I am convinced there is a query on this site that is wrong, too long and causes this issue. My server and MySQL logs show very little strain ...
4
votes
3answers
5k 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
431 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
484 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 ...
0
votes
3answers
374 views

php-fpm invokes oom-killer

I'm seeing an issue where PHP-FPM works perfectly for a few days, and then decides to fill up all the memory + swap and invoke OOM-Killer. After this happens, the server is completely dead and you ...
1
vote
1answer
595 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
207 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
569 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
205 views

high load and OOM-killer on domUs while pvmove

Situation xen 4.0.1 dom0 (debian squeeze) domUs all with LVs as disks: disk = [ 'phy:/dev/vg-00/domu-swap,xvda1,w', 'phy:/dev/vg-00/domu-disk,xvda2,w' ]) one VG (vg-00) with 2 PVs Goal Move all ...
1
vote
3answers
314 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 ...
0
votes
2answers
206 views

LAMP/Postfix on Debian. Rare OOM-ing - tools to track down?

I'm getting seemingly random server hangs (specifically OOM-ing) and running out of skill trying to track this down. I'm using a Debian 5 VS with Apache/mySQL/PHP. I've got Postfix running using ...
0
votes
1answer
347 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 ...
2
votes
2answers
593 views

lighttpd eating all memory and CPU

So my lighttpd was running fine for more than a year. Two days ago I decided to install Wordpress 3.0.1 (PHP was already in use by other tools). So after some hours of very few hits (i might get 10 ...
3
votes
3answers
5k 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: ...
3
votes
0answers
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" ...
5
votes
5answers
5k views

How to reliably take Java Heap Dumps?

My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script ...
4
votes
5answers
1k 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 ...
1
vote
2answers
1k views

OOM-Killer, jboss and kernel panic

We are running RedHat 3.4.6(x32) on VMWareEsx3.5(x64) with 6GB RAM. A few java processes(including jboss) are running in the background. The problem is that the java processes consume lots of memory, ...
18
votes
3answers
12k 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 ...