From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 11:10:50 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 BC39B1065673 for ; Sun, 21 Dec 2008 11:10:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC938FC16 for ; Sun, 21 Dec 2008 11:10:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 6FACEAFC1FF; Sun, 21 Dec 2008 02:10:49 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 21 Dec 2008 11:47:27 +0100 User-Agent: KMail/1.9.7 References: <494BE22A.3060301@optiksecurite.com> In-Reply-To: <494BE22A.3060301@optiksecurite.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211147.27641.fbsd.questions@rachie.is-a-geek.net> Cc: FreeBSD , Tom Worster 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: Sun, 21 Dec 2008 11:10:50 -0000 On Friday 19 December 2008 19:04:26 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. Swapping is a symptom of a symptom - or just the machine doing it's job. Better let nagios monitor: - fork rate by observing kern.lastpid sysctl over time - nr. of processes running - top 10 processes sorted by resident memory (res not size in top(1)) Those are the actual symptoms of something going wrong that can cause a system to start swapping heavily. 3MB swap is not 'heavily' and is nothing to worry about.In fact, a high fork rate can DOS a system pretty well, without the machine ever going into swap. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.