🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3123

Re: INN: cant fork in.nnrpd No more processes

#3123
From: Jim Jagielski
Date: Fri, 02 Dec 1994 20:21
103 lines
4639 bytes
ulbrikg0@seraph1.sewanee.edu (Karl G. Ulbrich) writes:

>I've got a problem.  My server will run after a reboot for a while
>(usually several hours), but then starts kicking out errors and
>disallowing connections.  

It certainly sounds as if the problem is a lack of enough Swap and/or RAM
on your system.

INN is a _real_ memory hog and when it does a fork, it makes a complete
copy, although only for a few seconds, of itself and all it's buffers,
arrays, etc... This is BIG. If there isn't enough RAM for that, A/UX
will try to use Swap; if even that's not enough, the fork will fail.

The fix: add some more Swap (at least 80MB) or more RAM (as much as
possible)

>It seems to do this after a finite amount of access, and as such has been
>dying more and more frequently (2-3 times a day) now that I have more
>"test users" online and reading news.  

>The exact errors are below.  I tried to give single examples of the errors
>it spit out so there's not so much to wade through.  The most common one
>is generated each time a newsreader tries to connect:

>Nov 29 17:04:40 cherub innd: ME cant fork /usr/local/etc/in.nnrpd No more
>processes

>I've also included as many diagnostics as I've been able to glean by lurking.

>All suggestions welcomed,

>Karl Ulbrich.  

>***** Server & Software:

>INN 1.4sec

>AUX 3.0 running on a Mac IIci with 12 MB RAM (yeah, I know.  It's what we have)


>************* THESE CONDITIONS ARE FOR SERVER WHEN ACCESSIBLE *********

>cherub.root # pstat -m
>496 buffers: 0 busy, 0 wanted, 156 done, 333 nodev
>214 out of 456 UFS inodes active
>30 out of 400 processes active
>124 out of 456 files active

>Total memory = 12280K, currently free = 240K


>cherub.root # swap -l
>path              dev  swaplo blocks   free
>/dev/dsk/c2d0s1  26,1       0  53248  33000


>************* CONDITIONS BELOW EVIDENT WITH HOSED SERVER **************

>***** pstat -m tells me this.  I don't know what it means.

>cherub.root # pstat -m
>496 buffers: 0 busy, 0 wanted, 173 done, 316 nodev
>204 out of 456 UFS inodes active
>25 out of 400 processes active
>118 out of 456 files active

>Total memory = 12280K, currently free = 388K

>***** swap -l shows swap space still available -- about 2/3 of that allocated.

>cherub.root # swap -l
>path              dev  swaplo blocks   free
>/dev/dsk/c2d0s1  26,1       0  53248  37808

>***** Most often it's this:

>Nov 29 17:04:40 cherub innd: ME cant fork /usr/local/etc/in.nnrpd No more
>processes
>Nov 29 17:06:33 cherub innd: ME cant fork /usr/local/etc/in.nnrpd No more
>processes

>***** Additionally these show up from time to time, under the same
>circumstances as the error above.  

>Nov 29 17:02:19 cherub innd: OVERVIEW! spooling
>Nov 29 17:02:19 cherub innd: OVERVIEW! cant spawn spooling No more processes
>Nov 29 17:07:17 cherub innd: ME cant fork /usr/local/news/bin/overchan No
>more processes
>Nov 29 17:21:20 cherub innd: ME cant fork
>/usr/local/news/bin/control/rmgroup No more processes
>Nov 29 17:21:20 cherub innd: ME cant spawn
>/usr/local/news/bin/control/rmgroup for control/511826 No more processes
>Nov 29 19:17:51 cherub innd: ME cant fork
>/usr/local/news/bin/control/newgroup No more processes
>Nov 29 19:17:51 cherub innd: ME cant spawn /usr/local/news/bin/control/newgroup
>for control/511998 No more processes
-- 
#include <std/disclaimer.h>
  |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
              << Your hair is like a halo of mouse-brown fire >>
Technical Details
Message-ID: <3974@jagubox.gsfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.aux.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!lll-winken.llnl.gov!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
References: <ulbrikg0-0112941526350001@cloud9.sewanee.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3974@jagubox.gsfc.nasa.gov>
Subject: Re: INN: cant fork in.nnrpd No more processes
Date: Fri, 02 Dec 1994 20:21:31 +0000
From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
References: <ulbrikg0-0112941526350001@cloud9.sewanee.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.aux.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!lll-winken.llnl.gov!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
Newsgroups: comp.unix.aux,news.software.nntp
Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
Lines: 102
Distribution: inet
Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
NNTP-Posting-Host: jagubox.gsfc.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit