*BSD News Article 85394


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!worldnet.att.net!arclight.uoregon.edu!newsfeed.direct.ca!nntp.portal.ca!van-bc!van-bc!not-for-mail
From: jhenders@wimsey.com (John Henders)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: How to fix 'Cannot alloc MBUF' or similar message
Date: 20 Dec 1996 12:13:38 -0800
Organization: Wimsey Information Services
Lines: 15
Message-ID: <59es1i$2bt@vanbc.wimsey.com>
References: <01bbee2a$b6648a20$9e9dd4c7@soca>
NNTP-Posting-Host: vanbc.wimsey.com
X-Newsreader: NN version 6.5.0 #3 (NOV)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5477

In <01bbee2a$b6648a20$9e9dd4c7@soca> "Bruce Fleming" <bfleming@bserv.com> writes:

>I am getting a frequent (once every 1 or two days) message similar
>to 'Cannot alloc MBUF' message and the system freezes. Can anyone
>point me in the right direction.

Try upping the number of mbufs in the kernel config and recompiling. I
use this for our nameserver. 

options NMBCLUSTERS=2048 # mbufs default 256 - gateway 512

You can monitor mbuf usage with netstat -m or systat -mbufs

-- 
John Henders  - System Administrator - Mindlink!/Wimsey