From owner-freebsd-small Mon Jun 1 03:51:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12808 for freebsd-small-outgoing; Mon, 1 Jun 1998 03:51:02 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA12800 for ; Mon, 1 Jun 1998 03:50:56 -0700 (PDT) (envelope-from forsys!kate@kremvax.demos.su) Received: by kremvax.demos.su (8.6.13/D) from root@localhost id OAA08677; Mon, 1 Jun 1998 14:45:36 +0400 Received: (from kate@localhost) by ns.forsys.msk.ru (8.8.7/8.6.9) id OAA03526; Mon, 1 Jun 1998 14:31:18 +0400 (MSD) Date: Mon, 1 Jun 1998 14:31:17 +0400 (MSD) From: "Ekaterina N. Ivannikova" To: Andrzej Bialecki cc: freebsd-small@FreeBSD.ORG Subject: Re: firewall/router setup? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Jun 1998, Andrzej Bialecki wrote: > On Mon, 1 Jun 1998, Ekaterina N. Ivannikova wrote: > > > On the same subject. I would love to use a couple of FWTK proxies on a small > > FreeBSD system loaded from a floppy or two. The problem is I can't make > > it out what is the right way of telling FreeBSD there is _no_ swap space > > available. Or is swapping an absolute must for *BSD ? Since proxies > > fork a child for each serviced request what will happen when there is no > > more free memory _and no_ swap ? Will the kernel panic or will just fork > > fail ? > > There are two sysctl's for this: > > vm.defer_swapspace_pageouts > vm.disable_swapspace_pageouts > > When set to 1, the first tells VM to avoid paging, and the second tells it > the system doesn't have any swap. Thank you for the info. But aren't these version 3.0 sysctl's by any chance ? On my FreeBSD 2.2.5 sysctl -a doesn't show these oids. It has vm.swapping_enabled though. I once tried setting it to 0, but the system still swapped. Evidently I missed something. Ekaterina To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message