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.

100 questions
2
votes
1 answer

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 characters are printed back in reverse. This has been…
2
votes
2 answers

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 unique visitors per day at max), the system almost…
weeheavy
  • 4,039
  • 1
  • 27
  • 41
2
votes
2 answers

NFS server with out of memory

I have multiple machines sharing home directory via NFS share used by 6-10 users. All machines are used to run computational experiments including the one with NFS server. Although it is very rare but possible that some experiment may cause out of…
rmah
  • 29
  • 3
1
vote
0 answers

Linux out of memory killer kills process when there is more than enough memory available

We are running a 64-Bit Ubuntu and our 32GB of physical memory is split into 3 zones (DMA: 16MB, DMA32: 4GB and Normal: 30GB). According to the dmesg logs printed below our system ran out of free memory on the Normal zone. The logs show that free…
1
vote
3 answers

OOM kills a process while there is still a lot of available memory

I am aware that there are many threads like this one, but none of them actually give a methodology on how to read an OOM message. I have a db that is being monitored through NRPE for available memory, using a shell script check that calls free -m…
user3081519
  • 253
  • 2
  • 13
1
vote
1 answer

Java application gets killed in kubernetes while the resource limits and heap size are specified

Background A spring boot Java application is deployed in a kubernetes cluster and gets killed several times per day. I'm using openjdk:8u181-jre for my Java apps. Kubernetes version: v1.11.5 Node os: CentOS 7.4 x64 JAVA_OPTS are set according to…
leoleozhu
  • 113
  • 5
1
vote
0 answers

OOM killer kills process though page cache is never evicted

Our servers in production sometimes under load runs into the following issue (Linux 4.10): Application handling the load (webserver) is running at high load. A new job starts (e.g. cron). This requires a clone() system call, which fails to allocate…
Confused
  • 11
  • 1
1
vote
0 answers

"bash: fork: Cannot allocate memory" for any command - how to prevent this at OS level?

I was testing how an Ubuntu 16.04 machine handles low memory conditions and had several suspended jobs that that used up almost all the RAM on the server. I was still able to run normal bash commands when I left work last night. In the morning…
EM0
  • 351
  • 7
  • 20
1
vote
0 answers

ec2 not connecting on public IP after volume resize

I am hosting two Wordpress sites on two different AWS EC2 micro instances running LAMP. I have been getting OOM kills and decided to resize the instances to small. Since increase the size of the instance I am only able to ssh into the instances…
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,265
  • 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
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
  • 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,795
  • 3
  • 27
  • 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