🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Karl G. Ulbrich Thu, 01 Dec 1994 21:26
INN: cant fork in.nnrpd No more processes
#3118
Author: Karl G. Ulbrich
Date: Thu, 01 Dec 1994 21:26
87 lines
3571 bytes

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 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
Re: INN: cant fork in.nnrpd No more processes
#3120
Author: Matt Power
Date: Fri, 02 Dec 1994 07:04
15 lines
1262 bytes
>cherub.root # pstat -m
...
>25 out of 400 processes active

>/usr/local/news/bin/control/rmgroup No more processes

On a lot of INN systems, rmgroup would run as news rather than root.
Perhaps the per-user process limit in the kernel had already been
reached for news, even if root were still able to start processes? I'm
not very familiar with A/UX, but on first glance the discussion of
MAXUP in the A/UX faq (it's under A.22 "What does this 'panic' message
mean...?" in the current version) looked possibly relevant to this...

Matt
Re: INN: cant fork in.nnrpd No more processes
#3122
Author: Fred Condo
Date: Fri, 02 Dec 1994 17:43
46 lines
2670 bytes
In article <ulbrikg0-0112941526350001@cloud9.sewanee.edu>,
ulbrikg0@seraph1.sewanee.edu (Karl G. Ulbrich) wrote:

> 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 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

You're running out of memory. The design philosophy of INN is to sacrifice
memory in exchange for speed. The rule of thumb is that you should have at
least 32 MB of RAM and a great deal of swap space.

I run INN on a Quadra 950 running A/UX 3.1.1 with 36 MB of RAM. Until I
added a 160-meg drive totally dedicated to swap space, even that huge
machine would give "no more processes" under INN.

Do a 'ps -lu news'. You'll notice that innd is using several thousand
pages of memory. To fork an nnrpd, your computer must briefly allocate a
second copy of innd. Your Mac II just hasn't got the memory resources to
do that.
-- 
Fred Condo + fred@lightside.com + http://www.lightside.com/~fred/
PGP public key: finger fred@lightside.com
Re: INN: cant fork in.nnrpd No more processes
#3123
Author: 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 >>
Re: INN: cant fork in.nnrpd No more processes
#3124
Author: Karl G. Ulbrich
Date: Fri, 02 Dec 1994 20:48
19 lines
1620 bytes
In article <3bmgt0$jju@bloom-beacon.MIT.EDU>, mhpower@bloom-beacon.mit.edu
(Matt Power) wrote:

> >cherub.root # pstat -m
> ...
> >25 out of 400 processes active
> 
> >/usr/local/news/bin/control/rmgroup No more processes
> 
> On a lot of INN systems, rmgroup would run as news rather than root.
> Perhaps the per-user process limit in the kernel had already been
> reached for news, even if root were still able to start processes? I'm
> not very familiar with A/UX, but on first glance the discussion of
> MAXUP in the A/UX faq (it's under A.22 "What does this 'panic' message
> mean...?" in the current version) looked possibly relevant to this...

MAXUP's set to 150 (started at 50), which is about ~140 more processes
more than I count running under the News ID when things stop working.  :-(
Re: INN: cant fork in.nnrpd No more processes
#3128
Author: Fred Condo
Date: Sun, 04 Dec 1994 16:36
25 lines
1856 bytes
In article <3bmgt0$jju@bloom-beacon.MIT.EDU>, mhpower@bloom-beacon.mit.edu
(Matt Power) wrote:

> >cherub.root # pstat -m
> ...
> >25 out of 400 processes active
> 
> >/usr/local/news/bin/control/rmgroup No more processes
> 
> On a lot of INN systems, rmgroup would run as news rather than root.
> Perhaps the per-user process limit in the kernel had already been
> reached for news, even if root were still able to start processes? I'm
> not very familiar with A/UX, but on first glance the discussion of
> MAXUP in the A/UX faq (it's under A.22 "What does this 'panic' message
> mean...?" in the current version) looked possibly relevant to this...
> 
> Matt

Except that A/UX's per-user process limit defaults to 50, so with 25
processes total, that could not be the problem, unless MAXUP has been
changed from the default.
-- 
Fred Condo + fred@lightside.com + http://www.lightside.com/~fred/
PGP public key: finger fred@lightside.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads