From owner-freebsd-stable Sat Aug 31 14:17:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B721537B400 for ; Sat, 31 Aug 2002 14:17:49 -0700 (PDT) Received: from nextgeneration.speedroad.net (nextgeneration.speedroad.net [195.139.232.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 5342D43E3B for ; Sat, 31 Aug 2002 14:17:48 -0700 (PDT) (envelope-from arnvid@karstad.org) Received: (qmail 3490 invoked by uid 1010); 31 Aug 2002 21:17:52 -0000 Received: from freelight.isd.no (HELO ?195.139.232.120?) (ievil@195.139.232.120) by mail.speedroad.net with SMTP; 31 Aug 2002 21:17:52 -0000 Date: Sat, 31 Aug 2002 23:17:45 +0200 From: Arnvid Karstad To: Matthew Dillon , bmah@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Problems with FreeBSD - causing zalloc to return 0 ?! Organization: Int In-Reply-To: <200208312106.g7VL6JEU002376@apollo.backplane.com> References: <20020830190849.8B8A.ARNVID@karstad.org> <200208312106.g7VL6JEU002376@apollo.backplane.com> Message-Id: <20020831231356.8BCC.ARNVID@karstad.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.05.04 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 31 Aug 2002 14:06:19 -0700 (PDT) - Matthew Dillon wrote: > Ok, I've examined the kernel core dump. I'm still not sure why > INVARIANTS made any difference, but the kernel is definitely running > out of KVM and it looks like the main culprit is the number of > mbufs and mbuf clusters configured. It looks like they were > manually configured up. let's see now root@irc:/usr/local/etc/rc.d# more /etc/sysctl.conf kern.maxfiles=65536 kern.maxfilesperproc=65536 net.inet.udp.blackhole=1 net.inet.tcp.blackhole=1 #kern.maxproc=1024 kern.maxprocperuid=1024 net.inet.ip.fw.dyn_max=10000 root@irc:/usr/local/etc/rc.d# more /boot/loader.conf # -- sysinstall generated deltas -- # userconfig_script_load="YES" kern.ipc.nmbclusters=129536 net.inet.tcp.tcbhashsize=65536 and relevant kernel configs: options NMBCLUSTERS=32384 # Up clusters options DFLDSIZ=(512*1024*1024) #Increase options ICMP_BANDLIM All of these were up'd in cooperation with someone with greater knowledge of the inner issues of FreeBSD than myself after we experienced problems with nic lock downs etc related to the load of appx 20000 users at the same time.. Mvh/Best regards, Arnvid L. Karstad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message