From owner-freebsd-questions@FreeBSD.ORG Tue May 28 19:14:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2D48DE45 for ; Tue, 28 May 2013 19:14:30 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [IPv6:2a01:4f8:130:84c1::deaf:babe]) by mx1.freebsd.org (Postfix) with ESMTP id E5EB46C for ; Tue, 28 May 2013 19:14:29 +0000 (UTC) Received: from [10.130.11.108] (cm-84.210.76.250.getinternet.no [84.210.76.250]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id A0E232E419; Tue, 28 May 2013 21:14:25 +0200 (CEST) References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> In-Reply-To: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Message-Id: <7E5293AA-C3B2-4CC2-B84F-44CD7002D413@elde.net> Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (10A523) From: Terje Elde Subject: Re: "swap" partition leads to instability? Date: Tue, 28 May 2013 21:14:24 +0200 To: "M. V." Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 19:14:30 -0000 On 26. mai 2013, at 10:58, "M. V." wrote: > But recently I heard from a FreeBSD expert that I shouldn't have swap part= ition 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 whereev= er), more than the idea of having the partition itself? If you're heavily swapping on an SSD with no redundancy, sooner or later it w= ill kill your server.=20 Generally though, havin too little memory will also give issues. ;) I usually recommend viewing swap like you view filesystems. If you don't wan= t downtime or dataloss when it dies, plan for failiure, and use gmirror or z= fs mirror and zvol.=20 Terje