OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
FreeBSD Security Archives: Re: Out of mbuf clusters

Re: Out of mbuf clusters


FreeBSD -- The Power to Serve (geniusjsuarez.bestweb.net)
Sun, 19 Sep 1999 22:15:51 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CLONE huh? Well I guess I can help you anyway :).. There's another seperate
option from maxusers to raise mbuf clusters.. use 'options NMBCLUSTERS=16384'
or whatever number you want.. you can see how many you have by doing netstat -m.
This should do it :)

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
> jcarlosbahianet.com.br
>
>
>
> To Unsubscribe: send mail to majordomoFreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
- --

- -----------------------------------------------------------------------------
Jason DiCioccio | geniusjods.org
FreeBSD - The Power to Serve | http://www.freebsd.org
PGP Key ID: 0xA96A4C04 | http://www.ods.org
- -----------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1

iQA/AwUBN+WnEHJvJ3WpakwEEQJtzACeKXk5aCq6bAzsYGEhKnEWwsJI9w4AoO82
UGL5uikzujAxIbCHxW+ZbC4B
=EEiW
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomoFreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



This archive was generated by hypermail 2.0b3 on Sun Sep 19 1999 - 23:12:48 CDT