The tag has no wiki summary.

learn more… | top users | synonyms (1)

12
votes
2answers
780 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
58 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
145 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 ...
4
votes
1answer
222 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
44 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
67 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
121 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 ...
6
votes
1answer
191 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
52 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 ...
0
votes
0answers
33 views

MySQL is running out of cache

I installed MySQL Workbench on Linux Mint 17. When I enter the i character from keyboard MySQL runs out cache in MySQL query display. Then MySQL shuts down. I would appreciate it if you could help.
9
votes
1answer
1k 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
260 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? ...
0
votes
0answers
313 views

What is SUnreclaim memory?

In /proc/meminfo we find among others: Slab: 276188 kB SReclaimable: 244112 kB SUnreclaim: 32076 kB From what I could find out all three numbers refer to slab memory. But ...
0
votes
2answers
2k 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, ...
2
votes
2answers
122 views

cannot find what has used all the memory

The server has about 24GB memory. By running free -g I find the memory is used up total used free shared buffers cached Mem: 23 23 0 ...
3
votes
1answer
72 views

OOM Killer value always one less than set

I am trying to set the oom_adj value for the out of memory killer, and each time I do (regardless of the process) I get back exactly one less than I set (at least for positive integers. I haven't ...
0
votes
1answer
34 views

Regain access to seemingly frozen Live CD session

A few weeks back I started a machine up with a copy of Parted Magic, and loaded up some webpages in Firefox on it. Just last week, upon getting back to looking at the machine, I noticed that lxpanel ...
0
votes
1answer
44 views

Configure the OOM to avoid having the system grind to a halt

I have an SSD and therefore no swap. However, when I open a lot of tabs in the browser, the system tends to grind to a halt. If I'm lucky, I can close one or two tabs before the system is completely ...
1
vote
0answers
151 views

How to cause memory fragmentation on a Linux based embedded device?

Hardware ARM What am I trying to do: Answer: I am trying to create memory fragmentation on a Linux 2.6.31 based swapless embedded device. Why: Answer:I am trying to port some patches to Linux ...
1
vote
1answer
970 views

Log from oom killer

I'm running a virtual machine at a provider where you pay for everything you use (CPU, memory, disk IO, bandwidth, etc). Currently my machine has 512MB ram and 1GB swap area. The kernel version is ...
4
votes
1answer
346 views

Wget out of memory error kills process

I wanted to backup all my .vcf files from my carddav server (ownCloud). The script is very simple and is the following: $ wget -Avcf -r -np -l0 --no-check-certificate -e robots=off --user=user \ ...
3
votes
2answers
1k views

Basic sed command on large one-line file: couldn't re-allocate memory

I have a 250 MB text file, all in one line. In this file I want to replace a characters with b characters: sed -e "s/a/b/g" < one-line-250-mb.txt It fails with: sed: couldn't re-allocate ...
8
votes
2answers
222 views

How can my HDD swap without a swap partition?

I have no swap partition on my disk because I prefer having the OOM reaper kill anything it wants quickly rather than having to wait 10 minutes for my swap partition to get filled + 5 other minutes to ...
2
votes
3answers
134 views

Linux freezes under high memory usage

When I start memory-intense processes (such as git gc in a repository with huge files), Linux starts becoming unresponsive after some time, at first the UI lags a little, then the mouse stops moving ...
2
votes
1answer
2k views

How do I read the output of `dmesg` to determine how much memory a process is using when oom-killer is invoked?

I asked this question: Running `sudo /sbin/service mysqld start` causes system to crash In the comments of one of the answers, a very helpful individual is asking for more information regarding how ...
5
votes
1answer
2k views

OOM Killer - killed MySQL server

On one of our MySQL master, OOM Killer got invoked and killed MySQL server which lead to big outage. Following is the kernel log: [2006013.230723] mysqld invoked oom-killer: gfp_mask=0x201da, ...
1
vote
2answers
263 views

“Out of Memory” error while copying large files with pcmanfm

This is an older machine running a Debian-based distro with lxde and pcmanfm used as file manager. pcmanfm normally runs quite well, except when it comes to copying very large files (e. g. *.VOBs from ...
0
votes
2answers
2k views

Linux reboot out of memory

I have a server with Intel(R) Atom(TM) CPU D525 and 1 GB memory. I noticed the server would shut down and restart automatically about every 7 days. I checked the memory usage and found that when the ...
2
votes
2answers
246 views

Why is scdaemon ballooning out of control?

My system keeps getting wedged because an scdaemon process has been spawned that has grown to consume all free memory on the computer. (I do not use, and have never used, smart cards in the vicinity ...
0
votes
1answer
214 views

RedHat / CentOS 5.5 background process has restricted memory

I run Fisheye that uses Java for Linux. Settings go like this: generate options FISHEYE_OPTS=`$JAVACMD -Xms100m -Xmx200m -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter` build ...
4
votes
2answers
499 views

Out of memory while using sed with multiline expressions on giant file

I am currently trying to remove all newlines that are not preceded by a closing parenthesis, so I came up with this expression: sed -r -i -e ":a;N;$!ba;s/([^\)])\n/\1/g;d" reallyBigFile.log It does ...
7
votes
2answers
2k views

How to set OOM killer adjustments for daemons permanently?

Running some Linux servers with single or just a few vital system service daemons, I would like to adjust the OOM killer for those daemonized processes in case something odd happens. For example, ...