Lately, I've noticed entries like this one in the kern.log
of one of my servers:
Feb 16 00:24:05 aramis kernel: swapper: page allocation failure. order:0, mode:0x20
I'd like to know:
- What exactly does that message mean?
- Is my server running out of memory?
The swap usage is quite low (less than 10%), and so far I haven't noticed any processes being killed because of lack of memory.
Additional information:
- The server is a Xen instance (DomU) running Debian 6.0
- It has 512 MB of RAM and a 512 MB swap partition
- CPU load inside the virtual machine shows an average of 0.25
Debian bug 666021 seems to be a report of this same issue. The suggestion there is:
http://russ.garrett.co.uk/2009/01/01/linux-kernel-tuning/ has some discussion of when altering this setting may be useful, reproduced here:
I applied this setting on my 3.2.12-gentoo x86 machine, but I'm still getting these errors.
It may also be worth checking
vm.zone_reclaim_mode
: see http://www.kernel.org/doc/Documentation/sysctl/vm.txtI've just worked through this error on a Lenovo NAS running Debian 5 and kernel 2.6.39.3 64bit.
The messages are informational despite looking scary, according to https://www.novell.com/support/kb/doc.php?id=7002803
However, they were filling my very limited root partition (this device has a 50 MByte root partition ?!)
The fix for me was to set
vm.min_free_kbytes
from65536
down to16384
.Afterwards, the OS still has 107 MBytes free memory and 2 GB in buffers. This makes no sense, but it stopped all the logging.