Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 10:14:56 -0000
From:      "Majid Almassari" <majid@ibroadcast.net>
To:        "questions@FreeBSD.ORG" <questions@FreeBSD.org>
Subject:   NMBCLUSTERS
Message-ID:  <019601bf30e4$991bdcc0$8e1d91d8@ibroadcast.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi there,
according to FAQ (http://www.freebsd.org/FAQ/troubleshoot.html#AEN1135) you can set the NMBCLUSTERS option in the KERNEL configuration to
options "NMBCLUSTERS=<n>"  where <n> is in the range 512-4096, my two questions are:
1. We have servers that this value is set as options         NMBCLUSTERS=8192 is this normal to be that high even in FAQ the MAX is 4096.
2. The entry does not have a quotation mark around it as the FAQ does is it mandatory to have those quotation marks?
when I issue netstat -m the settings are realized sine it reports

3187/3616 mbufs in use:
        2890 mbufs allocated to data
        297 mbufs allocated to packet headers
2546/2930/8192 mbuf clusters in use (current/peak/max)
6312 Kbytes allocated to network (86% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

The reason I'm investigating this is because I get a KERNEL panic and the server reboots. The message in the /var/log/messages states:
/kernel: Out of mbuf clusters - adjust NMBCLUSTERS or increase maxusers!

Any suggestions and ideas are appreciated,thanx.
  
-- 
Majid Almassari, MSEE, MCP.
Systems Administrator
iBroadcast, Inc.
Phone: (206) 223-5540
Email: majid@ibroadcast.net
http://www.ibroadcast.net


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi there,</FONT></DIV>
<DIV><FONT face=Arial size=2>according to FAQ (<A 
href="http://www.freebsd.org/FAQ/troubleshoot.html#AEN1135">http://www.freebsd.org/FAQ/troubleshoot.html#AEN1135</A>) 
you can set the NMBCLUSTERS option in the KERNEL configuration to</FONT></DIV>
<DIV><FONT face=Arial size=2>options "NMBCLUSTERS=&lt;n&gt;"&nbsp; 
where&nbsp;&lt;n&gt; is in the range 512-4096, my two questions 
are:</FONT></DIV>
<DIV><FONT face=Arial size=2>1. We have servers that this value is set 
as&nbsp;options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NMBCLUSTERS=8192 
is this normal to be that high even in FAQ the MAX is 4096.</FONT></DIV>
<DIV><FONT face=Arial size=2>2. The entry does not have a quotation mark around 
it as the FAQ does is it mandatory to have those 
quotation&nbsp;marks?</FONT></DIV>
<DIV><FONT face=Arial size=2>when I issue netstat -m the settings are realized 
sine it reports</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>3187/3616 mbufs in 
use:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2890 mbufs allocated to 
data<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 297 mbufs allocated to packet 
headers<BR>2546/2930/8192 mbuf clusters in use (current/peak/max)<BR>6312 Kbytes 
allocated to network (86% in use)<BR>0 requests for memory denied<BR>0 requests 
for memory delayed<BR>0 calls to protocol drain routines</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The reason I'm investigating this is because I get 
a KERNEL panic and the server reboots. The message in the /var/log/messages 
states:</FONT></DIV>
<DIV><FONT face=Arial size=2>/kernel: Out of mbuf clusters - adjust NMBCLUSTERS 
or increase maxusers!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any suggestions and ideas are 
appreciated,thanx.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>-- <BR>Majid Almassari, MSEE, MCP.<BR>Systems 
Administrator<BR>iBroadcast, Inc.<BR>Phone: (206) 223-5540<BR>Email: <A 
href="mailto:majid@ibroadcast.net">majid@ibroadcast.net</A><BR><A 
href="http://www.ibroadcast.net">http://www.ibroadcast.net</A><BR></FONT></DIV></BODY></HTML>;
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?019601bf30e4$991bdcc0$8e1d91d8>