From owner-freebsd-hackers Sun Jul 26 07:02:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA26899 for freebsd-hackers-outgoing; Sun, 26 Jul 1998 07:02:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA26880 for ; Sun, 26 Jul 1998 07:02:17 -0700 (PDT) (envelope-from w@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id QAA02600; Sun, 26 Jul 1998 16:01:47 +0200 (CEST) (envelope-from w@panke.de.freebsd.org) Received: (from w@localhost) by campa.panke.de (8.8.8/8.8.8) id PAA02328; Sun, 26 Jul 1998 15:42:30 +0200 (MET DST) (envelope-from w) Message-ID: <19980726154226.A2270@panke.de> Date: Sun, 26 Jul 1998 15:42:26 +0200 From: Wolfram Schneider To: Markus Stumpf , freebsd-hackers@FreeBSD.ORG Subject: Re: swap/memory management problem References: <19980724035956.H11327@space.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <19980724035956.H11327@space.net>; from Markus Stumpf on Fri, Jul 24, 1998 at 03:59:56AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1998-07-24 03:59:56 +0200, Markus Stumpf wrote: > Watched this a loooong ;-) time and never seen pages swapped out but only in. > > The nasty thing with this is that squid is getting slower and slower and > even so the above numbers do no change its getting slower every day it > runs until I restart it. > > I assume this all is due to proactive swapping? > > Is there any chance to get rid of this behaviour? Would it help to reduce > the swap space to e.g. 30 MB? (the 27 GB disk is filled, so I don't think > squid will grow any further). Anything else I'm missing? There are several (undocumented) syctl variables which control swapping and paging. You can also disable swapping at all. $ sysctl -a | grep ^vm vm.loadavg: { 0.91 0.94 1.00 } vm.v_free_min: 161 vm.v_free_target: 607 vm.v_free_reserved: 124 vm.v_inactive_target: 1398 vm.v_cache_min: 810 vm.v_cache_max: 3242 vm.v_pageout_free_min: 34 vm.pageout_algorithm: 0 vm.swapping_enabled: 1 Wolfram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message