From owner-freebsd-net Thu Feb 28 0:10: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 5C80437B405 for ; Thu, 28 Feb 2002 00:09:59 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 32B57AE2C5; Thu, 28 Feb 2002 00:09:59 -0800 (PST) Date: Thu, 28 Feb 2002 00:09:59 -0800 From: Alfred Perlstein To: Hyong-Youb Kim Cc: freebsd-net@FreeBSD.ORG Subject: Re: kern.ipc.maxsockets Message-ID: <20020228080959.GF80761@elvis.mu.org> References: <20020228045834.GA80761@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Hyong-Youb Kim [020227 23:30] wrote: > > > > > The server machine I am working on has 2GB of memory and 1.6G Athlon CPU. > > > It currently runs FreeBSD-4.3-RELEASE. > > > I have been trying to get kern.ipc.maxsockets above 64K. I have tried > > > 128K, 100K, and so on. 80K worked but for all others, the system halted > > > during the boot saying 'pager_swap_zone = null'. I am guessing that the > > > kernel zone allocator cannot allocate enough map space for the pager swap? > > > I am wondering if anyone knows how to get around this problem. Thanks. > > > > 4-stable has a fix for this. > > If the problem doesn't involve many files, is there anyway to get a diff > patch against 4.3-RELEASE? Thanks. Sure. Look at src/sys/vm/swap_pager.c near revision 1.150 to 1.162 -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message