*BSD News Article 70408


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.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!news.mathworks.com!newsfeed.internetmci.com!news.sover.net!not-for-mail
From: erikl@sover.net (Erik R. Leo)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.admin,news.software.nntp
Subject: Re: Problem with INN unoff 4
Date: 7 Jun 1996 18:17:04 GMT
Organization: SoVerNet, Inc.
Lines: 41
Message-ID: <4p9rn0$c75@thrush.sover.net>
References: <Pine.BSD/.3.91.960605121727.10492C-100000@winslow.net66.com> <4p5lco$ibh@web.ddp.state.me.us>
NNTP-Posting-Host: honeybee.sover.net
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:3955 comp.unix.admin:43222 news.software.nntp:23398

David Miller (isdmill@gatekeeper.ddp.state.me.us) wrote:
: Greg Whalin (gwhalin@winslow.net66.com) wrote:
: : [...]
: : Running INND unoff 4 with the sharedactive patch (same problem without 
: : the patch)
: : Machine is dedicated to news server only (no other big apps).
: : [...]
: : flagstaff innd: ME can't fork /usr/contrib/lib/news/in.nnrpd Cannot 
: : allocate memory
:
: [...]
: 
: I'm running 1.4u4 on a number of 2.1 and 2.01 systems with no apparent
: problems.
: 
: How much swap space do you have configured, and how much is in use? (pstat
: -s).  How many users are you configured for?  Lastly, have you installed
: all the 2.01 patches?

	Under BSD/OS 2.0.1 and INN1.4unoff2 we had a constant problem with
"stuck"  in.nnrpds (i.e., the process hung around long after the user had
disconnected) chewing up available memory until INN couldn't even read the
"innshellvars."  Most of our use is via dialup, and BSDI seems to think
the problem has to do with kernel values that are non-tuneable and
optimized for ethernet connections--i.e., an environment where hosts
disappear and subseqently reappear.  I "solved" it by killing all
in.nnrpds whenver available memory (as reported by vmstat(8)) went below a
threshold.  Pretty ugly and not especially good for customer relations :). 

	We've moved to BSD/OS 2.1 and INNunoff4+sharedactive and I've
refined the hack a bit (it now kills only the in.nnrpds that are
associated with non-responsive IPs--as reported by ping(1)), but I think
it may be a fact of life in a dialup environment.

-Erik
PS to r$ we do find it useful, the postcard is in the mail :).
--
Erik R. Leo, Net Worker       SoVerNet
Tel:    +1(802)463-2111       Vermont's Sovereign Internet Connection
Fax:    +1(802)463-2110       5 Rockingham Street
Email:  erikl@sover.net       Bellows Falls, Vermont 05101