Linked Questions

64
votes
2answers
31k views

Will Linux start killing my processes without asking me if memory gets short?

I was running a shell script with commands to run several memory-intensive programs (2-5 GB) back-to-back. When I went back to check on the progress of my script I was surprised to discover that some ...
19
votes
3answers
24k views

What is the Out of Memory message: sacrifice child?

My computer recently ran out of memory (a not-unexpected consequence of compiling software while working with large GIS datasets). In the system log detailing how it dealt with the OOM condition is ...
4
votes
1answer
3k views

How can i calculate the size of shared memory available to the system

According to the rhel document, the total amount of shared memory available on the system equals to shmall*PAGE_SIZE. After I completed the installation of RHEL6, the value of the shmall kernel ...
1
vote
1answer
1k views

How to debug an Out of memory crash

Recently one of my CentOS6 server crashed because of an Out of memory Error: It seems to be related to the postgres database used by java web-applications (deployed on tomcat). But I cannot find ...
3
votes
1answer
797 views

How can the OOM killer kill ulimit(ed) process?

I'm playing with MongoDB clusters. After few OOM killers, I decided to ulimit mongoDB with memory to 4G of RAM. After few hours, it was killed again with OOM. So my question is not about MongoDB, it's ...
0
votes
1answer
639 views

Preventing system “hang” caused by full physical memory use on Linux

I learned the other day that Linux really does kill processes if it runs out of memory. I had detached the swap with swapoff command before that happened. Usually, if any process takes up all the ...
1
vote
0answers
796 views

Debian Server: Out of Memory: kill process [closed]

I run a debian Webserver with nextcloud. Every night a backup job (storeBackup) is scheduled and it only succeeds in very few cases. But every night the journal is full of OOM Errors (see below). The ...
0
votes
2answers
507 views

cannot login system but kept showing “ out of memory killed process”

I edited root ~/.bashrc today, and suddenly the system became lagged so I tried to reboot it. and the screen showed that I cannot login in at all. the system version is redhat 6.5 and there is a ...
1
vote
1answer
250 views

Restricting CPU memory usage for services to prevent a crash [duplicate]

I'm running a Ubuntu VM with an 8 GB RAM with docker containers ( 8 GB is just about enough for my requirements) but at some point the VM freezes/crashes due to memory exhaustion leaving me no choice ...
0
votes
1answer
39 views

Can user space memory make the system go haywire?

So I was reading How Linux Works by Brian Ward. In it, he says, the user-space applications going bad will not wreck the system. Figure 1-1. General Linux system organization There is a critical ...