Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2008 11:47:27 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        FreeBSD <freebsd@optiksecurite.com>, Tom Worster <fsb@thefsb.org>
Subject:   Re: SOLVED: Simple swap question
Message-ID:  <200812211147.27641.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <494BE22A.3060301@optiksecurite.com>
References:  <C57144E5.6CE8%fsb@thefsb.org> <494BE22A.3060301@optiksecurite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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