From owner-freebsd-questions Sun Sep 19 20:33:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id A96A414BC6 for ; Sun, 19 Sep 1999 20:33:13 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id UAA19661; Sun, 19 Sep 1999 20:48:52 -0700 (PDT) Date: Sun, 19 Sep 1999 20:48:52 -0700 (PDT) From: Alfred Perlstein To: Joao Carlos Cc: questions@FreeBSD.ORG, hitech@bahianet.com.br Subject: Re: Out of mbuf clusters In-Reply-To: <000501bf030a$ac70e7a0$fa58dfc8@bahianet.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think if the kernel tells you to increase NMBCLUSTERS that's what you should be doing... add this to your kernel config and bring maxusers down to 256: options NMBCLUSTERS=8192 use a higher value if problems persist. In all seriousness you should attempt to enlist the help of a knowledgeable IRC operator who can assist you with these and further issues. and please don't crosspost in the future. good luck, -Alfred Perlstein - [bright@rush.net|alfred@freebsd.org] Wintelcom systems administrator and programmer - http://www.wintelcom.net/ [bright@wintelcom.net] On Sun, 19 Sep 1999, Joao Carlos wrote: > I'm running FreeBSD 3.3-STABLE, and compiled a kernel with 64 maxusers. It > gives me somethink like 1048 processes. I don't know if it's a bug, or > whatever, but i got crazy when i tested a program called CLONE on a IRC > Server running i this machine. > Before arriving 1024 connections on te IRCD, (NOTE: nothing more like httpd, > squid, etc were running), The machine crashed, with the following message: > > Sep 19 22:30:04 unix2 /kernel: Out of mbuf clusters - adjust NMBCLUSTERS or > increase maxusers! > > well, i recompiled the kernel with 512 maxusers (more than that config gives > warning... why?). > > I was waiting that at least more tha 1024 connections it would support, but > with a little more than 980 (couldn't get the exact number) the machine > crashed with the same message. Well, with 512 maxusers i have more than 8000 > processes... so.. why this? why does config warning abou kernels with more > than 512 maxusers? > I know that IRCD can have a bug that does not support more than 1024 > connections, but i think the FreeBSD boxes does not have to crash. The > machine goes down booting without umounting, and then i have to check forced > my disks. > > Can anyone tell me why is it happening? I'm afraid this can get something > exploitable for iRC Server machines!!!! > > Thanks > > Joao Carlos > jcarlos@bahianet.com.br > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message