From owner-freebsd-questions@FreeBSD.ORG Mon May 27 08:46:42 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 2C08E908 for ; Mon, 27 May 2013 08:46:42 +0000 (UTC) (envelope-from bored_to_death85@yahoo.com) Received: from nm16.bullet.mail.bf1.yahoo.com (nm16.bullet.mail.bf1.yahoo.com [98.139.212.175]) by mx1.freebsd.org (Postfix) with SMTP id ABE5BDDE for ; Mon, 27 May 2013 08:46:41 +0000 (UTC) Received: from [98.139.215.141] by nm16.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 Received: from [98.139.212.241] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 327063.30974.bm@omp1050.mail.bf1.yahoo.com Received: (qmail 95935 invoked by uid 60001); 27 May 2013 08:46:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369644392; bh=UXujFxJA3TUyerePA3Dh5GXlhl2tdlcyXvjqmTHpGdg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TjNjCbbVhhAc1V50g9PNqW2IYgz2RIfxdxPt9P/95Z2HhHnEd1oQu2Suf8L1TpApaazNnZUNwQyMt62I4Bk6rjwBYGN25VMLI+ZWzvA1yc7kuAbnYtDbFWu73Ij4Sy7ejStB1Q6AteFyqpCcaH1EPSL6kvMTurah0qrLzIMHU+I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=QgWuuKfuckhhGuT8ikGASHIRhFuY26N059DH3es+pq3EXpbWyC42K7Rp/PMtj1VOtGNqJWaGTG4RgKWPO986Jk0yTRUl0pJFpH0FI+ZRorsJDBA1iWWRxokpm4Aefi2kfVSMm8rTiBzYLmxDLrwUskWEDsWy1C5lKqCkSW8AbL0=; X-YMail-OSG: L8VfmqQVM1kttzXtOXDWROz02iwczd5xw_7JbvRn8sPkqWV NxsxKE1oEZUkKZojSzGlpdWCbynMR.91RT0ffM4bxPrjC8AwqsTuP5uifXMJ DkVUF83y7MZcrwvBcpylT0oinMfyE9tX24TvfPTCMCG.d_I80W.UHdH0bW37 jJxuTnTFDb27qpDCZT17Sw3AmHX3Pb4eXQSumQ23qmjIZbNSbQ4wQfi9vmui QO4uwMySTguRrph1DHAE50oWaS5JXu0pm_AAbmUlDoJuOspllezTyvNdLJy2 _p.dXgs9IoT3TnGdfWa1_Y626Qt4UDp19e.JuKrK7CiHHhMpNjVw7zT7uB3r 9zXY501W9yNqYYvgElQDUWVAxTiC1WVyPA6AbMCf07sE10wx8exXgLHngOjU 0qvWXuNDEEtHFNTzeyQPQbzJIG9rSsreKRVkALO3o.esfo1y2QwGhX_0p8cB N9DnyYj28ckGkHh4ZRLKvL0Tue9tLcNIK_kV6QWTMDb2GsQ6ef10MH_jDZIR wUBECC.4VfJbnZ5k0NeDJBJ6Sl80.17udnAi_9XF3hKgyqF6lzinDbICmA8T Y7dqn0P.t6Qb1ZdCRkRxlu2xBBWA5gGkg3Wmh_WiX812xAKlwsHWzQ08d5Nq JE1H_XhfMRS9OKg0xAB2MNHpegxgVeRuGViCY8yvEudsgE3.uuqYxhWCyAFf 2TU9OK0ScTR7eGfBWDc5eCro31OzUOeTSQKDJbxOqXV0- Received: from [94.183.246.198] by web165003.mail.bf1.yahoo.com via HTTP; Mon, 27 May 2013 01:46:32 PDT X-Rocket-MIMEInfo: 002.001, amIgPGpiLjEyMzRhYmNkIDxhdD4gZ21haWwuY29tPiB3cml0ZXM6Cgo.IE0uIFYuIDxib3JlZF90b19kZWF0aDg1IDxhdD4geWFob28uY29tPiB3cml0ZXM6Cgo.PiByZWNlbnRseSBJIGhlYXJkIGZyb20gYSBGcmVlQlNEIGV4cGVydCB0aGF0IEkgc2hvdWxkbid0IGhhdmUKPj4gc3dhcCBwYXJ0aXRpb24gZm9yIG15IHNlcnZlciwgYW5kIGhhdmluZyBzd2FwIHBhcnRpdGlvbiBjb3VsZAo.PiBtYWtlIG15IHNlcnZlciB1bnN0YWJsZS4gCgo.IEkgdGhpbmsgeW91ciBGQiBleHBlcnQgd2FzIHVwIHRvIHNvbWUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Message-ID: <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Date: Mon, 27 May 2013 01:46:32 -0700 (PDT) From: "M. V." Subject: Re: "swap" partition leads to instability? To: jb , "freebsd-questions@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "M. V." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 08:46:42 -0000 jb gmail.com> writes: > M. V. 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.