The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
0answers
40 views

rsync/rsnapshot via ISCSI & ionice/nice results in out of memory & CPU stuck errors

We have been running rsnapshot backups for a while now and in the past few months they have been failing with out of memory errors in addition to CPU soft lockups. This problem was happening in ...
2
votes
0answers
28 views

OOM from iterating over very large memory map

I'm writing a simulator that relies on generating a (potentially) very large problem domain, as it can't fit in RAM, I use 4 four memory mapped files to hold it. This is a 64-bit application running ...
0
votes
2answers
118 views

How to prevent Apache from consuming too much RAM

I'm running a http server based on ubuntu 16.04. Application is based on django (python) which is connected to apache via mod-wsgi. When I issue a command that consumes huge amounts of RAM, system ...
0
votes
0answers
20 views

how to prevent OOM, use swap [duplicate]

My machine has 4GB of ram and 4GB of swap. The amount of usable memory is about 3GB. The machine is running an iscsi target, squid, munin, unbound, and other services. However, the memory usage ...
0
votes
1answer
358 views

Debugging high (near total) CPU/memory usage of “Web Content” application on Linux Mint

I have Linux Mint installed on 3 computers at home, and all of them are almost unusably slow whenever Firefox is open. Here is the output from top: As you can see, "Web Content" and Firefox are ...
2
votes
1answer
32 views

AIX - use ksh builtins to free memory when fork not possible

Context: an AIX lpar with very low memory (no forking possible, so only shell's builtins (cd, echo, kill) will work). I can have a (hmc) console to it, but I need a better way to start freing memory ...
0
votes
1answer
27 views

How to reduce the memory utilization by lsof.log?

lsof.log is consuming lot of space. The log file size has increased up to 7 GB. How do I optimize the space utilization by lsof.log file. Should I delete it on regular basis or is there a way around....
3
votes
0answers
60 views

OOM Killer keeps killing mysqld

I run a CentOS vps to host a few websites with cPanel/WHM but every now and then, my websites stop working because it can't establish a connection to the mysql database. Looking at the messages log, ...
4
votes
1answer
72 views

Is `make -j` (with no argument) dangerous?

Earlier today when building something, I decided to run make as $ make -j perhaps out of habit with other programs such as cabal where -j defaults to a reasonable limit. About 20 seconds later, my ...
0
votes
0answers
19 views

System becomes semi-responsive when virtual machine is being installed

I'm on Kubuntu (4.4.0-38-generic). My machine has around 4GB of RAM, I used "make Linux install all" option, so I have around 4GB of swap. At this current moment (like any other), I have 1.68GB RAM ...
4
votes
1answer
41 views

Decline malloc for memory hungry application

Is it possible to deny malloc instead of killing process selected by OOM killer? I think out of memory can be at least logged by the process which is better than being killed. Also, part of the ...
0
votes
1answer
50 views

Memory Issue: Raspberry Pi [closed]

I am working on one project required to monitor the UPS using NUT server. For monitoring and data logging I am using the minibian OS (JESSIE). In order to monitor the ETON UPS I have wrote a shell ...
0
votes
2answers
103 views

OOM situations handled horribly - better to disable swap?

I am running Ubuntu 16.04.1 LTS, with a 4.4.0-36 kernel. I don't think that this matters a lot though, because I've seen terrible kernel behaviour across many distributions/kernel versions. Consider ...
0
votes
0answers
57 views

varnishd killed by OOM, How can I configure the varnishd to avoid this problem?

The following error message is taken from my log message. varnishd server is getting killed for over use of memory. We have done all the possible settings to avoid it, Still the same problem happens ...
7
votes
2answers
703 views

what process killers does linux have? [closed]

Some of my jobs are getting killed by the os for some reason. I need to investigate why this is happening. The jobs that I run don't show any error messages in their own logs, which probably ...
0
votes
1answer
368 views

Metasploit gives out of memory error every time a command is run

After running search name:SSH at from the Metasploit console, the console closed itself down. Now, whenever I attempt to run even the most basic commands in Metasploit I get an out of memory error, as ...
2
votes
2answers
328 views

Why is the OOM killer killing processes when swap is hardly used?

I have an ARM based server with just under 2GB of addressable memory and 4GB of swap activated: root@bang:~> free -m total used free shared buff/cache available ...
3
votes
1answer
66 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
264 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
1answer
59 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
187 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
48 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
591 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
42 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
267 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
31 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
53 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
868 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) ...
2
votes
1answer
227 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
228 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
89 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
130 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
150 views

How does OSX handle Out of Memory conditions?

Linux uses the OOM killer; what do Macs do?
1
vote
0answers
34 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
66 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?
1
vote
0answers
224 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
28 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 ...
5
votes
0answers
689 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 ...
4
votes
1answer
674 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
314 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
5k 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
106 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
357 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
5k 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 ...
4
votes
1answer
588 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
198 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 ...
6
votes
2answers
18k 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
550 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
521 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 ...