Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 1995 16:59:20 -0800
From:      David Greenman <davidg@Root.COM>
To:        Sergio Lenzi <lenzi@cwbtr01.bsi.com.br>
Cc:        hackers@freebsd.org, questions@freebsd.org
Subject:   Re: mb_map full. 
Message-ID:  <199512020059.QAA00244@corbin.Root.COM>
In-Reply-To: Your message of "Fri, 01 Dec 95 21:28:16 GMT." <Pine.BSF.3.91.951201212159.7393A-100000@cwbtr01.bsi.com.br> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I have a machine running FreeBSD with 8MB of memory
...
>The BSD machine receives messages via rs232, decodes it
>and updates an ORACLE database running in a sparc 20 processor.
>
>The updates is via rsh command.
>
>There are 10 rs232 ports in the BSD machine.
>
>The sistem is running and some time, 30min to 3 hours a message
>appears in the console "mb_map full".
>
>I looked at the code and see that comes from the vm logic in the kernel.
>
>Can someone please tell me a way to increase that table or a way to
>solve the problem, Please ???

   You need to increase the number of mbuf clusters. You didn't specify which
version of FreeBSD you're using, and the default numbers of clusters is
different with each version...but nonetheless, you can increase the number by
adding:

options		"NMBCLUSTERS=<n>"

   ...to your kernel config file, where <n> is a value of 512 or larger (I
suggest trying 1024). Don't use a value much larger than 2048 without adding
more memory (2048 will require 4MB of RAM just for the buffers).

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512020059.QAA00244>