The tag has no usage guidance.

learn more… | top users | synonyms (1)

3
votes
0answers
28 views

Why does the OOM-killer not log details to be visible through dmesg?

I want to make kernel oom_killer run and provide the related log entries in dmesg. I set the following settings echo 1 > /proc/sys/vm/overcommit_memory and tried to fill up the RAM to it's max, ...
5
votes
2answers
76 views

Where the remaining memory of vm.overcommit_ratio goes?

If I disable memory overcommit by setting vm.overcommit_memory to 2, by default the system will allow to allocate the memory up to the dimension of swap + 50% of physical memory, as explained here. I ...
1
vote
0answers
9 views

“Cache status for node is full”Both the system hard drive and storage drive are getting full in one day [closed]

I have 30+ cameras in one NVR and I'm using two 500GB hard disks for the operating system and four 2TB hard disks for storage. It was working for four years with no issues but after we installed 2FA ...
0
votes
0answers
30 views

Force dirty pages limit in kernel sources

First of all, I'm not sure if that's a solution to my problem. My problem is that during I/O embedded linux is allocating too much memory in cache causing OOM if I run anything else. I/O operations ...
1
vote
1answer
36 views

Embedded Linux OOM - help with lost RAM

I have little Linux system with 256MB RAM. I'm little bit confused, where the RAM may be lost? It is running old linux kernel 2.6.38 and I'm not able to ubgrade it (some specific ARM board). SHM and ...
1
vote
0answers
46 views

Possible slab memory leak related to bio and btrfs?

I'm currently running a rebuild on a btrfs NAS (~20TB) that had a drive failure. It's going to take a few days. My problem is about once every 24 hours the RAM filled up and the kernel starts killing ...
3
votes
1answer
35 views

Process name post killing

I am getting OOM error and killed process error in logs. In the logs, I can see the process ID which has been killed by kernel but not able to find out which process is actually been killed. Can we ...
3
votes
2answers
78 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 ...
3
votes
1answer
23 views

Can I deny use of swap space to a specific process (and have it just get killed)?

While developing some software, a program under test sometimes eats all the memory, then proceeds to yomp into the swap space and start thrashing the disk, leading to a predictable drop in ...
3
votes
2answers
119 views

Linux using whole swap, becoming unresponsive while there is plenty of free RAM

I am experiencing a weird issue lately: Sometimes (I cannot reproduce it on purpose), my system is using all its swap, despite there being more than enough free RAM. If this happens, the systems then ...
1
vote
0answers
26 views

pmap hangs on OOM process

I did attempt a search, but there doesn't appear to be much out there on pmap so here goes. I have a script that works with WebLogic instances to gather data on them which we can send to our Devs for ...
2
votes
0answers
38 views

OOM Killer: Processes have a score of over a 1000

All top links when Googling for OOM score seem to indicate that the values must be between -1000 and 1000. I tried to verify that with a simple cat /proc/*/oom_score | sort -n | less and I ...
0
votes
1answer
223 views

How can I clear my cache?

I'm running a live CD linux distro and I'm getting out of memory exceptions. >java -version #Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000646e00000, 264241152, 0) ...
1
vote
1answer
106 views

OOM-kill a process from user with highest memory consumption?

I have a multi-user system, where active users should get a fair share of the available memory. Can I set up Linux to kill a process of the user with the highest total memory consumption? This will ...
1
vote
0answers
102 views

Extremely high shmem usage

I'm trying to debug the issue that's periodically taking down my work machine. It's an OOM-type problem, and based on this /proc/meminfo output: Total: 32902608 kB MemFree: 4054100 kB ...
1
vote
1answer
49 views

Why does OOM-killer sometimes fail to kill resource hogs?

If I type in my shell x=`yes`, eventually I will get cannot allocate 18446744071562067968 bytes (4295032832 bytes allocated) because yes tries to write into x forever until it runs out of memory. I ...
1
vote
0answers
69 views

Memory usage inexorably creeping upward

Just within the past day, my Arch Linux system has begun eating memory. This seems to begin when the system is powered on, and I cannot find a way to stop it. The symptom is that the reported memory ...
2
votes
1answer
41 views

How does OSX handle Out of Memory conditions?

Linux uses the OOM killer; what do Macs do?
1
vote
0answers
28 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename USER=...
2
votes
0answers
37 views

Any way to specify process to call on Linux when OOM activates?

On my embedded system I'd like to record when the system OOM killer actives, e.g. by setting an env. variable in u-boot. Is there any way to specify a hook function to call on the OOM event?
0
votes
0answers
156 views

btrfs balance memory requirements?

I'm trying to rebalance data on my btrfs filesystem to free up some (a lot) of disk space. However, my machine consistently keeps OOMing itself into death. Currently I'm assigning 1.5 GB of RAM but ...
1
vote
0answers
153 views

httpd and mysqld used out of memory

I choose 512mb ram for my Centos VPS with very low traffic new website .but after 2,3 hours after rebooting, i have only 24mb free memory. when i use top command: 2981 root 20 0 37176 10m ...
0
votes
0answers
12 views

Is it reasonable for OOM Killer to decide to kill a job in a matter of seconds? [duplicate]

I have plenty of jobs that were killed with the message: died through signal KILL (9). I checked the forums and the common culprit for this is the OOM killer. But I checked my jobs that were killed ...
2
votes
0answers
364 views

Is unreclaimable memory allocated to slab considered used or available cache?

After evaluating /proc/meminfo, I see the following information: $cat /proc/meminfo MemTotal: 197852592 kB MemFree: 64755992 kB MemAvailable: 65655112 kB Buffers: 4388 kB ...
3
votes
1answer
205 views

How do you prevent system from freezing when memory is used up?

I've been running a process (gdb) that can easily use up all my ram and swap space. Every time that happens the whole system becomes very non-responsive and Xorg will barely update, I can't swith to ...
3
votes
0answers
142 views

Process killed by OOM killer when plenty of memory apparently free

I'm working on an embedded ARM-based platform. 32-bit, 512MB of RAM, no swap. Linux 3.10.53 (some variety of Ubuntu, if that's relevant). Some code I'm working on is getting consistently oom-killed, ...
1
vote
0answers
3k views

Bash session errors on commands: “fork: Cannot allocate memory”

I have a bash session open to a remote server and something is wrong. I created a directory "test" and touched the files inside touch 1 2 3 4 5. I then tried to copy the directory cp test/ test2/ and ...
2
votes
1answer
73 views

Why is IO so high when almost out of memory

On my work laptop with an SSD and no swap, I sometimes run out of memory when running RAM-expensive applications (virtual machine, etc). When that happens, the system becomes slow (expected) but what ...
3
votes
1answer
234 views

Exclude user from OOM killer in unix

Is there anyway to exclude some users from the out-of- memory killer in Unix? On the other way, can I set priority for user?
1
vote
1answer
2k views

“grep: memory exhausted” error on large partition

I was editing a text file with my notes on linux commands when I noticed a big chunk of it was missing (copy without paste, probably). The problem is that I already saved the document. (And this is a ...
13
votes
9answers
4k views

Memory problems when compressing and transferring a large number of small files (1TB in total)

I have 5 million files which take up about 1TB of storage space. I need to transfer these files to a third party. What's the best way to do this? I have tried reducing the size using .tar.gz, but ...
3
votes
1answer
355 views

What happens when a tmpfs volume is full and swap is full? Is Linux's OOM-killer involved? [duplicate]

I understand that if a persistent / disk-based volume is full, files need to be explicitly deleted to free up space before more can be added. Further, I understand that if memory is exhausted, the ...
1
vote
0answers
150 views

Out of Memory with unused memory and swap

I have a strange error on my Raspberry Pi2. System is archlinuxarm. Short after boot (about 30 secs), the system states that it is out of memory, resulting in closing many applications, most time ...
5
votes
1answer
12k views

httpd memory usage

Having some problems with httpd (Apache/2.2.29) memory usage. Over time, memory usage in the httpd processes creep up until it's eventually at 100%. Last time I restarted httpd was about 24 hours ...
1
vote
0answers
396 views

Java process gets killed frequently by OOM - Killer on upgraded hardware

I am running solr on an Ubuntu server along with 4 other java processes. Current index size is 30 GB. My solr process gets killed frequently in few hours. It clearly mentions that its an OOM killer. I ...
3
votes
1answer
412 views

bash runs out of memory

This question is a fork of this SO question. Here is the MCVE version: $ PS1='Parent-$ ' Parent-$ type seq seq is /usr/bin/seq Parent-$ bash $ PS1='Child-$ ' Child-$ for i in $(seq 1000000000); do ...
6
votes
0answers
703 views

receive signal before process is being killed by OOM killer / cgroups

In our cluster, we are restricting our processes resources, e.g. memory (memory.limit_in_bytes). I think, in the end, this is also handled via the OOM killer in the Linux kernel (looks like it by ...
2
votes
0answers
654 views

Xorg consuming 1.1GB, is it a leak?

I am facing a problem wherein Xorg starts to consume more and more memory and finally eats up the whole swap space. As shown below, Xorg's virtual memory is about 1.1GB. My system runs only one GTK ...
12
votes
2answers
2k views

memory limit of the Linux kernel

I have a perplexing problem. I have a library which uses sg for executing customized CDBs. There are a couple of systems which routinely have issues with memory allocation in sg. Usually, the sg ...
2
votes
1answer
275 views

Find something that is occupying lots of memory and not visible in `ps` or similar

I have a VM that's having memory issues. One of the tasks I'd like to run in it is crashing with out-of-memory errors. However, when it crashes, the system still stays memory starved. I'm not sure if ...
2
votes
2answers
2k views

Linux freezing randomly

My Computer has been freezing a lot lately, and with no apparent reason.It freezes even if my usage is 3% CPU and 9% RAM. I was using Windows 8 until I decided I'd try to move on to linux, so I ...
30
votes
1answer
21k views

How OOM killer decides which process to kill first?

This answer explains the actions taken by the kernel when an OOM situation is encountered based on the value of sysctl vm.overcommit_memory. When overcommit_memory is set to 0 or 1, overcommit is ...
0
votes
0answers
227 views

Memory allocation issue on NOMMU?

I have a memory allocation issue on an embedded NOMMU linux. Or that is, I might have an issue, I'm not sure. The system has 15M free ram when booted. I have one small app (a Dropbox/REST ...
1
vote
1answer
181 views

Fastest and Safest way to increase Swap Space on Scientific Linux

Memory Swap Ratio Company System Today, a monitoring system indicated that one of the systems in the company has run out of memory. Executing htop on this system indicated that the Memory was nearly ...
1
vote
2answers
447 views

How to increase the memory used by Java in linux?

I have a program Vuze that is written in Java, which I use to download very large files, and I'm having a problem with it. I need to increase the amount of memory it uses. I've followed the directions ...
7
votes
1answer
987 views

kvm killed by oomkiller

kvm version: QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-6+deb7u3, Debian), Copyright (c) 2003-2008 Fabrice Bellard libvirtd version: libvirtd (libvirt) 0.9.12.3 debian version: 7.5 I'm running ...
2
votes
1answer
123 views

kvm_open: cannot open /proc

I have 100+ boxes running FreeBSD 8.4 amd64 RELEASE (p9) with the same configuration. And only one of them sometimes behaves strangely: load average (generally 4~6, it's ok course box have 8 CPU ...
11
votes
1answer
2k views

Why can't the OOM-Killer just kill the process that asks for too much?

It is explained here that the OOM-Killer can be configured via overcommit_memory and that: 1 = no overcommit. Allocations fail if asking too much. 0, 2 = overcommit. Kill some process(es) based on ...
2
votes
2answers
3k views

Out of Swap - What happens?

On my debian VM machine with 512MB RAM and 348MB Swap, what will happen if i open a 1GB file in an editor and get out of memory? Will it crash the system? Or if not, how will linux handle this? ...
9
votes
2answers
32k views

Debug out-of-memory with /var/log/messages

The following report is thrown in my messages log: kernel: Out of memory: Kill process 9163 (mysqld) score 511 or sacrifice child kernel: Killed process 9163, UID 27, (mysqld) total-vm:2457368kB, ...