*BSD News Article 55160


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!ames!hookup!solaris.cc.vt.edu!newsfeed.internetmci.com!in2.uu.net!news.exodus.net!news.alt.net!news.serv.net!news.serv.net!not-for-mail
From: zeno@serv.net (Sean T. Lamont)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help! Running out of mbuf's!
Date: 22 Nov 1995 02:37:29 -0800
Organization: ServNet Internet Services, Seattle, WA
Lines: 28
Message-ID: <48uuh9$91i@zebu.serv.net>
References: <48gugh$718@zebu.serv.net>
NNTP-Posting-Host: zebu.serv.net

Ok, as I posted recently, I'm getting a 'cannot send: no buffer space
available' error from the network. This is a news server, but it's not
highly loaded, so it surprises me that it does this.

I increased NMBCLUSTERS in the kernel config to ~1024 (from 512+16*maxusers).
This didn't really seem to help, So I've increased it to 4096 (it's too early
to tell whether this helped or not.)  It seems, however, that netstat -m
says:


x/26 mbuf clusters in use

the '26' figure is the exact same number it was using before, even in the
original kernel. My increase of the NMBCLUSTERS didn't change this figure
at all. This is confusing, because I read the latter figure as "26-x are
available." If I increase NMBCLUSTERS, this figure should presumably go
up, but it hasn't.

Could someone explain this to me or give me some hints as to how to
avoid running out of mbufs?



-- 
Sean T. Lamont, President / CEO, Abstract Software (ServNet)  
- Internet access * WWW hosting * TCP/IP * UNIX * NEXTSTEP * WWW Development -
email: lamont@abstractsoft.com              WWW:  http://www.serv.net
"...There's no moral, it's just a lot of stuff that happens". - H. Simpson