From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 19:05:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AB37106570F for ; Fri, 19 Dec 2008 19:05:41 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id DF7428FC1E for ; Fri, 19 Dec 2008 19:05:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy14 with SMTP id 14so1439492ewy.19 for ; Fri, 19 Dec 2008 11:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=9HzBeaIZyZ4xYyF6zRtwibvAtLGp7Z0G7yqz4z7ipvw=; b=B0/FPKwsMIUVQkCnKGYAa46KwaDgBxkPuwgD2B5k5DriMYu6DDSmR7jObtU3vHo9ab QpwNRr1xtP4v5SaV5XAW/GSdNe8AuPh9hYk5dfceJA7/ejkB8sgjAnrvQ50PyPW659Tw QnwbmvfjfIKWMk2B+UGsZ56YzkCQHABFa1ku8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=xcM0HGPhSl9HVMOE6O4oxJuXQSf1EmzWKoOJe8N8D75EgQGTqBq7bS/XcF1N+IvUSg ygLFQ3BtM5jFirpnveOPNsiorHlhnjdAiViOKkGa1kh6qbizCQ/UCa9vdfmePxIWjU5z tGcrUrsX3ETkukQDwwVc9NoyaCE/H3r8woqHA= Received: by 10.210.24.12 with SMTP id 12mr4165402ebx.34.1229713539710; Fri, 19 Dec 2008 11:05:39 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id y37sm9917978iky.16.2008.12.19.11.05.38 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Dec 2008 11:05:39 -0800 (PST) Date: Fri, 19 Dec 2008 19:03:45 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081219190345.1fb2ceb9@gumby.homeunix.com> In-Reply-To: <494BE22A.3060301@optiksecurite.com> References: <494BE22A.3060301@optiksecurite.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: SOLVED: Simple swap question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 19:05:41 -0000 On Fri, 19 Dec 2008 13:04:26 -0500 FreeBSD wrote: > This server is very lightly used, so most of the time if the swap is > getting used it shows that something is going wrong. This warning > already proved usefull once, so I don't think I'm going to change it. > I don't want to mess with the kernel actions, but there was no reason > to keep this in swap. It's the other way around, if a page is written-out to swap and then read back into ram, there's no point in ditching the on-disk copy as long as it's still valid. If the kernel runs short of memory again, it can reuse such pages instantaneously.