*BSD News Article 79974


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.mathworks.com!newsfeed.internetmci.com!newsserver.jvnc.net!newsreader.jvnc.net!news
From: John Lucas <jlucas@jnet.vi>
Subject: Re: "Out of buffer" problems
Content-Type: text/plain; charset=us-ascii
Message-ID: <3256A332.167EB0E7@jnet.vi>
Sender: news@tigger.jvnc.net (Zee News Genie)
Content-Transfer-Encoding: 7bit
Organization: University of the Virgin Islands
References: <qijenjgqbt7.fsf@lambda.ai.mit.edu> <531oif$3vp@anorak.coverform.lan>
Mime-Version: 1.0
Date: Sat, 5 Oct 1996 18:04:34 GMT
X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386)
Lines: 36

> In article <qijenjgqbt7.fsf@lambda.ai.mit.edu>,
>         shivers@ai.mit.edu (Olin Shivers) writes:
> I am having a problem with my FreeBSD system. Every now and then, I seem
> to blow out some kernel buffer pool. One sure way to do this is to display
> Java animations in my Netscape browser. Suddenly, I drop off the net --
> DNS lookups fail with "out of buffer space" error messages.
> 

Try the following settings in /usr/src/sys/i386/conf/XXXX (where XXXX is the name
of your kernel config file):

#
# Set higer if needed
#
maxusers        64

options         SOMAXCONN=64
options         NMBCLUSTERS=1024
options         CHILD_MAX=256
options         OPEN_MAX=256


Don't forget to modify /usr/include/sys/socket.h & /usr/src/sys/sys/socket.h
to have SOMAXCONN and NMBCLUSTERS match your settings. Check out the "LINT" file
in /usr/src/sys/i386/conf for more info. These settings are mentioned in the
Apache manual for performance tuning your kernal.

Once the setting are made, config, compile, and install your new kernel and
reboot.


-- 
| John Lucas                          jlucas@jnet.vi                 |
| Information Technology              NIC Handle: JL423              |
| University of the Virgin Islands    (809) 693-1216                 |
| St. Thomas, VI 00802                http://www.jnet.vi/jlucas.html |