On Wednesday 23 August 2006 00:49, Justin Piszcz wrote:
On Wed, 23 Aug 2006, John Andersen wrote:
On Wednesday 23 August 2006 00:41, Justin Piszcz wrote:
Why are you running swap on a raid device?
You DEFINITELY want to do this, otherwise, when 1 disk dies, so does your system if its using that swap!
Most systems don't use swap. Servers probably never should.
Most recommendations I've read are NOT to use raid for swap.
Some processes might die, but usually the system survives when swap is demounted.
-- _____________________________________ John Andersen
You sure about that? Even if you have 64GB of RAM, the kernel developers say you should still use swap when I asked them about it.
Swap is like the pistol you keep under your pillow. Best if never needed. Nice to have in an emergency, but it will not protect you from all disasters. John's Razor: Anything that contrives to memory starve a properly provisioned server will also exhaust swap. ;-) -- _____________________________________ John Andersen