Date: Sun, 26 Jul 1998 15:42:26 +0200 From: Wolfram Schneider <w@panke.de.freebsd.org> To: Markus Stumpf <maex-freebsd-hackers@Space.Net>, freebsd-hackers@FreeBSD.ORG Subject: Re: swap/memory management problem Message-ID: <19980726154226.A2270@panke.de> In-Reply-To: <19980724035956.H11327@space.net>; from Markus Stumpf on Fri, Jul 24, 1998 at 03:59:56AM %2B0200 References: <19980724035956.H11327@space.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980726154226.A2270>
