I've tried running without swap and the problem is if you actually do run out of memory then the process killer can take out your postgresql.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. Sim |
- Re: [GENERAL] heavy swapping, n... Greg Smith
- Re: [GENERAL] heavy swapping, n... Vick Khera
- Re: [GENERAL] heavy swapping, n... Sim Zacks
- Re: [GENERAL] heavy swapping, n... Scott Marlowe
- Re: [GENERAL] heavy swapping, not sure why Merlin Moncure
- Re: [GENERAL] heavy swapping, not sure why Alan Hodgson
- Re: [GENERAL] heavy swapping, not sure why Scott Marlowe
- Re: [GENERAL] heavy swapping, not sure w... Florian Weimer
- Re: [GENERAL] heavy swapping, not s... Scott Marlowe
- Re: [GENERAL] heavy swapping, n... Allan Kamau
- Re: [GENERAL] heavy swapping, not sure w... Sim Zacks
- Re: [GENERAL] heavy swapping, not s... Scott Marlowe
- Re: [GENERAL] heavy swapping, n... mark
- Re: [GENERAL] heavy swapping, n... Scott Marlowe
- Re: [GENERAL] heavy swapping, n... Scott Marlowe
- Re: [GENERAL] heavy swapping, n... Merlin Moncure
- Re: [GENERAL] heavy swapping, n... Scott Marlowe
- Re: [GENERAL] heavy swapping, not sure why Merlin Moncure
- Re: [GENERAL] heavy swapping, not sure why Lonni J Friedman
- Re: [GENERAL] heavy swapping, not sure why Merlin Moncure
- Re: [GENERAL] heavy swapping, not sure why Lonni J Friedman