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
1
vote
1 answer

HaProxy suddenly crashing on new Ubuntu Images (same config works elsewhere)

I have been using HAProxy for about two years with the same working configuration. I've installed HaProxy multiple times over the last week on Ubuntu 14.04, 15.10 and I am getting out of Memory crashes in HaProxy. It no longer works. I have attached…
Kladskull
  • 1,255
  • 5
  • 15
  • 32
1
vote
1 answer

OOM score adjustements

On Ubuntu 12.04/Java 1.7 I have been reading/searching about OOM killer and generally understood what "proc" man page says especially oom_adj part. It all started because my important "MQ listeners" are getting killed. We have a master listener…
user871199
  • 185
  • 5
1
vote
1 answer

Why did Linux OOM killer activate before using all of the swap?

I have a problem where my Java process gets killed by the kernel OOM killer. I'm not sure why that is happening, because according to syslog I still had free swap space: Jan 15 08:52:24 xyz-server kernel: Free swap = 3885844kB Jan 15 08:52:24…
palto
  • 209
  • 3
  • 12
1
vote
2 answers

when is the jvm heap allocated by the OS

One of our sap systems(PI ABAP+JAVA stack) was giving performance issue. The entire 64GB configured for the machine gets hogged up(and the 8 cores as well). Every one is suspecting the java part,but i think different. The java server nodes where…
varun
  • 361
  • 2
  • 12
1
vote
1 answer

Redis eats up more and more memory

I am running Redis 2.8.17 on Ubuntu 14.04 and yesterday Redis started eating up all the memory until it was killed by OOM. I restarted it multiple times, restarted the server, flushed all the data, but always the same result: when I start it, the…
Manuel Meurer
  • 263
  • 1
  • 3
  • 12
1
vote
1 answer

OOM even though page cache high, swap not used, etc

Can you help me diagnose this OOM? My remarks are in-between. <4>[598175.284914] cifsd invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0, oom_score_adj=0 Whut? GFP mask lower byte 0xa indicates a request for a free page in highmem. This is a…
Marki
  • 2,854
  • 3
  • 28
  • 45
1
vote
1 answer

On SmartOS how to tell if process was killed for OOM

A daemon process of mine gets killed almost immediately, as soon as it starts receiving requests. The application log has absolutely no error output, even when I try to run it in foreground. I have a suspicion that the OS might be killing it for…
fulv
  • 113
  • 5
1
vote
1 answer

Apache Django OOM on server with 4GB RAM

I'm running a production Django site on Ubuntu Linode w/ 4GB RAM. Major processes are Apache2, MongoDB, Memcache, PostgreSQL, Tomcat6 and Redis. Apache OOMs about 10 times a day. I've tweaked values in apache2.conf many times and seen no effect.…
1
vote
2 answers

How do I make OOM Killer more passive

I am able to compile a program with 1 GiB RAM on a VPS using old 2.6.x kernel. But when I tried to compile it on a VPS with 1.1 GiB RAM and 3.9.x kernel, the compiler always killed by OOM Killer. How do I make OOM more passive?
比尔盖子
  • 434
  • 1
  • 3
  • 11
1
vote
2 answers

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

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 cache with drop_caches error disappeared. Any idea…
nonobe
  • 11
  • 1
  • 2
1
vote
1 answer

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 LVs from one PV to the other (pvmove) and remove…
m.sr
  • 1,060
  • 1
  • 8
  • 19
1
vote
3 answers

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 the server starts using too much memory but I…
Eric L.
  • 13
  • 2
1
vote
0 answers

OOM killer beeing invoked by snapd systemd timer, CPU usage locks at 100% (snapd, mount, certbot)

Im having trouble debugging why my nodeJS webapp gets killed by the OOM killer in Debian 11. Im working on a small VPS (VMware ESX 7.0.3 build-21313628) by IONOS with single core 1GHz cpu, 512MB RAM, 1,9GB swap and 10GB SSD. The webapp runs with pm2…
1
vote
2 answers

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, and sometimes they are killed by the OOM-killer.…
Lydon Ch
  • 277
  • 1
  • 2
  • 12
0
votes
0 answers

Why is systemd-resolve killing my java server?

I've been running into this problem where every few days one of my java servers is just dying. To figure out why, I ran cat /var/log/syslog which produces: Sep 21 06:36:24 ip-172-31-42-5 systemd-timesyncd[16235]: Network configuration changed,…
satnam
  • 51
  • 3