"swap" partition leads to instability?

Terje Elde terje at elde.net
Tue May 28 19:14:30 UTC 2013


On 26. mai 2013, at 10:58, "M. V." <bored_to_death85 at yahoo.com> wrote:
> But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable

Any chance this could be a simple misunderstanding?

That he objected to the thought of the server swapping on an SSD (or whereever), more than the idea of having the partition itself?

If you're heavily swapping on an SSD with no redundancy, sooner or later it will kill your server. 

Generally though, havin too little memory will also give issues. ;)

I usually recommend viewing swap like you view filesystems. If you don't want downtime or dataloss when it dies, plan for failiure, and use gmirror or zfs mirror and zvol. 

Terje



More information about the freebsd-questions mailing list