Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 01:46:32 -0700 (PDT)
From:      "M. V." <bored_to_death85@yahoo.com>
To:        jb <jb.1234abcd@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: "swap" partition leads to instability?
Message-ID:  <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com>
In-Reply-To: <loom.20130526T143506-872@post.gmane.org>
References:  <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <loom.20130526T143506-872@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
jb <jb.1234abcd <at> gmail.com> writes:

> M. V. <bored_to_death85 <at> yahoo.com> writes:

>> 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. 

> I think your FB expert was up to something. I bet he spoke out
> of experience.
> 
> Swapping by itself can decrease system reliability due to possible
> data corruption on swap disk or during two-way transfers, with 

> subsequent incorrect RAM and machine crash.
>
> But, swapping is also a symptom, not a problem.
> It is never a good idea to let it get to that point.
...

> http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/


Very interesting point.
- do you think this could hurt my server's stability too? (most of its work is a noticeable amount of packet-forwarding, and other network services, like firewall, dhcp server, ntp server, etc)
- if so, in what conditions? can I do something to prevent this? or should I just get rid of the swap partition?

- does swap partition do any good for me at all? I mean if we even suppose nothing bad happens because of it, is it worth risking to keep it? 


thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1369644392.92027.YahooMailNeo>