Questions tagged [oom]

Linux Out-of-memory Killer

The OOM Killer is the Linux kernel's built in mechanism for protecting a machine from using up all memory.

107 questions
0
votes
1 answer

OOM despite the large amount of free SWAP

During some ML training htop shows usage of all RAM (16GB) and only 2G (out of 16GB) of SWAP when OOM happens. dmesg shows: [pon sie 12 11:53:44 2019] Purging GPU memory, 0 bytes freed, 131072 bytes still pinned. [pon sie 12 11:53:44 2019] 73728…
3voC
  • 103
  • 3
0
votes
1 answer

What Java -Xmx setting can I reasonably expect to work on an AWS EC2 Ubuntu server?

What is your experience? Can you confirm my experimental findings? Can I generally use total RAM - 600 MB, or 0.4 * total RAM? Or is it always trial and error, and hoping that it is low enough? Context: I'm trying to set up jenkins on a T3…
Reto Höhener
  • 421
  • 3
  • 7
  • 16
0
votes
1 answer

Number of httpd processes and prefork.c

Hi I got OOM killer problems which caused: [mpm_prefork:error] [pid 18103] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process I had to restart the server to get it working. In /var/log/messages near the OOM killer messages it…
Luke Wenke
  • 103
  • 4
0
votes
1 answer

VmRSS used to only about 25%, yet oom-killer strikes

I have a dedicated MySQL server equipped with 128 GB RAM. MySQL recently gets killed by the oom-killer, although MySQL is configured to use 95 GB in the worst case. In my research I came across this: # cat /proc/11895/status Name: mysqld State: S…
tombom
  • 105
  • 7
0
votes
1 answer

OOM Killer on xenserver - 2832MB memory free - killing xapi

I am trying to understand why OOM killer starts killing processes when there is plenty of memory free on the server: Result of uname -a: Linux hostname 2.6.32.43-0.4.1.xs1.8.0.835.170778xen #1 SMP Wed May 29 18:06:30 EDT 2013 i686 i686 i386…
W Khan
  • 1
  • 1
0
votes
2 answers

Linux - Logging process list during high memory usage

I'm trying to diagnose occasional spikes in memory usage on a Linux server. If the spikes are high enough the OOM Killer kicks in, which results in /var/log/messages containing a useful dump of the process list at the time. However, I'm also…
0
votes
0 answers

OOM Killer when tcpdump is run in system with low memory

I am working on an embedded system with limited memory. Here is the dump from my vmstat: procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa…
0
votes
3 answers

Can't Track Down What's Causing Server To Go Out of Memory

For a few months now I've been experiencing random crashes on my 2GB RAM VPS Linode server. Someone convinced me to switch to self-managed hosting and I for some reason thought I could handle it despite having no experience in the field. I'm going…
Champy
  • 1
  • 4
0
votes
2 answers

Out of memory at 72% usage

I've a problem currently with my 48gb ram server: it ramdomly kills processes because of Out of Memory, even if it only uses 72% of it (I got this figure from my monitoring interface). (swap usage: 60%) I have investigated a bit, but could not…
Nisalon
  • 13
  • 3
0
votes
1 answer

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. What is this telling me exactly and what should…
timpone
  • 255
  • 4
  • 11
0
votes
1 answer

Android java build drained 8GB of memory

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 it kills the java processes started by my build,…
m-ric
  • 241
  • 3
  • 9
0
votes
1 answer

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 know guys how to add more RAM to an EC2 instance…
PapelPincel
  • 325
  • 6
  • 18
0
votes
1 answer

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 (build 1.6.0_27-b07). Every once in a while the…
Dennis Winter
  • 448
  • 2
  • 7
  • 16
0
votes
3 answers

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 can't even SSH into it anymore. A hard restart has…
Alan
  • 338
  • 1
  • 3
  • 10
0
votes
2 answers

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 mySQL as well. I was ssh-ed in when it happened last…
Peter
  • 113
  • 4