🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2858

Re: INND cant fork, no more processes

#2858
From: Fred Condo
Date: Tue, 30 Aug 1994 22:08
50 lines
3129 bytes
In article <33sitt$2m@jupiter.netdepot.com>, mlandry@jupiter.netdepot.com
(mlandry) wrote:

> Need help with INND:
> 
> After running without problem for a day or so, 'innd' reports "cant
> fork" for ".../in.nnrpd", ".../control/newgroup", etc.  Max procs per
> user and per system are set at A/UX defaults of 50 and 100
> respectively. 'News' processes including 'innd' are typically 1 or 2.
> The number of procs in the proc table as reported by 'sar -v' and 'ps
> -ef | wc -l' never show over 50 out of 100.
> 
> The 'innd' code seems to be working correctly; the fork() system call
> returns the error. Are there any known problems with A/UX and fork-ing?
> 
> Could there be an interaction problem with 'nntpsend' which appears to
> spawn 20+ processes every time it runs? And if so, even if the 'news'
> user temporarily runs out of processes, why wouldn't the fork() resume
> working later when there are available process slots?
> 
> Help is greatly appreciated; hunches are welcomed.
> 
> Thanks,
> Mark
> 
> mlandry@netdepot.com

This problem has suddenly become very severe at our site. Rebooting the
system doesn't help. Doubling the values of kernel parameters MAXUP and
NPROC doesn't help. Sometimes, the problem goes away of its own accord
after a short while; other times it requires innd to be shutdown and
restarted. Still other times, even that doesn't help.

Until yesterday, this problem occurred only every 7 to 15 days. Now it
happens after as little as 13 minutes or even less.

We also are getting ME cant exec nnrpd for an alleged lack of processes.

Your comment about nntpsend prompted me to do some experimentation. I have
never noticed nntpsend spawning 20+ processes, and still could not observe
that today. On one attempt, however, I found that I could not spawn an
nnrpd while nntpsend was running.

Then, a moment later, when nntpsend was not running, forking failed again,
so maybe it was just coincidence. After bringing innd down and back up
again, I *was* ablte to spawn nnrpd even while nntpsend was running. So I
don't think that is the actual problem.
-- 
Fred Condo + fred@lightside.com
Technical Details
Message-ID: <fred-3008941408000001@covina.lightside.com>
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!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!swiss.ans.net!netnews.lightside.com!covina.lightside.com!user
References: <33sitt$2m@jupiter.netdepot.com>

Show Full Headers
Complete Article Headers
Message-ID: <fred-3008941408000001@covina.lightside.com>
Subject: Re: INND cant fork, no more processes
Date: Tue, 30 Aug 1994 14:08:00 -0800
From: fred@lightside.com (Fred Condo)
References: <33sitt$2m@jupiter.netdepot.com>
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!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!swiss.ans.net!netnews.lightside.com!covina.lightside.com!user
Newsgroups: comp.unix.aux,news.software.nntp
Followup-To: comp.unix.aux
Organization: Lightside, Inc.
Lines: 49
Distribution: inet
NNTP-Posting-Host: covina.lightside.com
Mime-Version: 1.0
Content-Type: text/plain;charset=US-ASCII
Content-Transfer-Encoding: 7bit