[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MB_FULL error on a OpenBSD 3.6 system
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: MB_FULL error on a OpenBSD 3.6 system
- From: forums <forum_(_at_)_vanleeuwen_(_dot_)_nl>
- Date: Mon, 11 Apr 2005 14:05:13 +0200
Hello,
Little problem with my FireWall :-(
It runs OpenBSD 3.6 and gives me a MB_FULL error...telling me that its very
busy indeed and we need to increase this buffer (according to the documents
I found about this)...
But as I recall reading somewhere...I thought this was no longer required on
the OpenBSD version (3.6) ???
Cannot find it back however where I read that...so maby I was dreaming
it...anyways :
Looked and found this :
http://tech.zone.ee/openbsd/faq/faq11.html
==========
A parameter you may need to change for a busy server, gateway or firewall is
NMBCLUSTERS. This controls the size of the kernel mbuf cluster map. On your
computer, if you get messages like "mb_map full", you need to increase the
value of this parameter. If traffic on a network interface stops for no
apparent reason, this may also be a sign that you need to increase the value
of NMBCLUSTERS. A reasonable value on the i386 port with most 100Mbps
ethernet interfaces (no matter how many the machine has) is 8192.
option NMBCLUSTERS=8192
The default number of NMBCLUSTERS varies from platform to platform, ranging
from 256 to 2048. It is set in a platform-dependent header file unless
overridden by an option line in a kernel config file.
NMBCLUSTERS can also be set using config(8)
<http://www.openbsd.org/cgi-bin/man.cgi?query=config&sektion=8> , which
eliminates the need to compile a kernel and reboot solely to change this
option:
# config -e -o bsd.new /bsd
OpenBSD 3.3 (GENERIC) #44: Sat Mar 29 13:22:05 MST 2003
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
Enter 'help' for information
ukc> nmbclust
nmbclusters = 2048
ukc> nmbclust 8192
nmbclusters = 8192
ukc> quit
Saving modified kernel.
This will create a new kernel, bsd.new, in the current directory, and
modifies the NMBCLUSTERS parameter of the running kernel. If all goes well,
don't forget to copy bsd.new to /bsd before rebooting.
=========
However, thats for a 3.3 version, I am using 3.6, so when I try it I get
this :
# config -e -o bsd.new /bsd
OpenBSD 3.6 (GENERIC) #59: Fri Sep 17 12:32:57 MDT 2004
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
Enter 'help' for information
ukc> nmbclust
Invalid command 'nmbclust'. Try 'help'.
ukc> ^C
Help tells me nothing really...
Anyone knows how to increase this buffer under OpenBSD 3.6 ?
regards
Wiljoh
Visit your host, monkey.org