From owner-freebsd-isp Thu Oct 15 20:39:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29051 for freebsd-isp-outgoing; Thu, 15 Oct 1998 20:39:23 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29045 for ; Thu, 15 Oct 1998 20:39:20 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id UAA23544; Thu, 15 Oct 1998 20:36:39 -0700 (PDT) Message-Id: <199810160336.UAA23544@implode.root.com> To: Andy Farkas cc: Studded , "Mikhail A. Sokolov" , Pecsenyanszky Istvan , freebsd-isp@FreeBSD.ORG Subject: Re: kernel panic (out of mbuf's) In-reply-to: Your message of "Fri, 16 Oct 1998 12:54:05 +1000." <3626B54D.49AE0C41@speednet.com.au> From: David Greenman Reply-To: dg@root.com Date: Thu, 15 Oct 1998 20:36:38 -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> > a) increase maxusers, as handbook teaches, b) options "NMBCLUSTERS=4096". >> > When you exceed ti, try next 2x value, but don't raise NMBCLUSTERS to >> > >12288 (even though you hardly need it that high). >> >> Why should you not raise it above 12,288? What evidence do you have to >> support that? This is an issue near to my heart, so I would appreciate >> any details you can provide. >> >> I do agree however that leaving maxusers at 512 and increasing >> NMBCLUSTERS is the answer. IIRC, with maxusers at 512 there are around >> 8,000 mbuf clusters, so something higher than that would be the place to >> start. > >According to the FreeBSD FAQ, http://www.freebsd.org/FAQ/FAQ92.html, >"NMBCLUSTERS=4096" is the maximum. The only maximum is the number that can fit in the kernel virtual memory. You could probably configure 15000 or more without much trouble, but going much beyond that will require changing the virtual memory layout in FreeBSD. With a changed kernel VM layout, the limits become much higher - wcarchive is configured for 80000 at the moment, for example, and will eventually be going to 160000 (required to support 10000 concurrent ftp users). -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message