* Scott Marlowe:
> On a machine with lots of memory, I've run into pathological behaviour
> with both the RHEL 5 and Ubuntu 10.04 kernels where the kswapd starts
> eating up CPU and swap io like mad, while doing essentially nothing.
> Setting swappiness to 0 delayed this behaviour but did not stop it.
> Given that I'm on a machine with 128G ram, I just put "/sbin/swapoff
> -a" in /etc/rc.local and viola, problem solved.
Was this NUMA machine? Some older kernels can only migrate pages
between nodes through swap.
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99
In response to
pgsql-general by date
|Next:||From: Scott Marlowe||Date: 2011-08-30 07:39:28|
|Subject: Re: heavy swapping, not sure why|
|Previous:||From: John R Pierce||Date: 2011-08-30 06:40:53|
|Subject: Re: Enable PITR in Postgresql|