| From: | Florian Weimer <fweimer(at)bfk(dot)de> |
|---|---|
| To: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
| Cc: | Alan Hodgson <ahodgson(at)simkin(dot)ca>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: heavy swapping, not sure why |
| Date: | 2011-08-30 06:54:40 |
| Message-ID: | 82hb4zl77z.fsf@mid.bfk.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
* 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2011-08-30 07:39:28 | Re: heavy swapping, not sure why |
| Previous Message | John R Pierce | 2011-08-30 06:40:53 | Re: Enable PITR in Postgresql |