🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26200

innd (1.7.2insync1.1d) blocking after fork

#26200
From: Chris Dent
Date: Fri, 13 Feb 1998 00:00
50 lines
2657 bytes
In my continuing quest to milk more performance out of my Linux news
server I've come across a stumper. This is inn 1.7.2 insync 1.1d on
redhat 4.2, linux 2.0.32.

I've been attempting to combat the problem with netscape and other
lame newsreaders that open many new connections very fast. Right now I
have H 3 T 128 X 20

With that setting (and others like that), although I'm not positive it
is directly related, when the load climbs a large number of innd
processes are left lying around. top reports them as in.nnrpd DWN
(uninterruptible sleep with no resident pages and niced). ps reports
them as innd.

an strace -fp on the PID will sit and do nothing for awhile and then
eventually (minutes) it will wake up and respond to a SIGSTOP and start
up the nnrpd process (read in libraries and the like) and carry on
normally. 

I see two problems here:

 Is it just inevitable that the load with scream into the 40s when I
 get slammed by netscape? The 505 error messages get sent out, but it
 is either to late by then, or something else is wrong. I can't seem
 to find reasonable HTX settings, I've been all over the map. I hope
 to move to using something like connectd soon, but haven't been able
 to get my hands on the more recent version yet.

 What is causing those innd forks to block? I'm currently configured to
 use IOCTL for CloseOnExec and that appears to be the preferred method
 (although it looks like Linux would support both). I poked around in
 innd/innd.c and looked at the Spawn function where I'm assuming things
 are hanging up and the only thing that seemed potentially odd there were
 the calls to CloseOnExec and the fact that the dbzcancel and dbmclose
 calls are commented.

Perhaps related: I have the timer configured in and my hishave times
have been higher than I expected (I posted elsewhere in the group
about that: Message-ID: <6bgsnv$9cn$1@kold.kiva.net>) but it looks
like most of that is dealing with cancels and the result of my load
getting high from the problem I describe above. 

Thanks for any suggestions.

-- 
Chris Dent........SysAdmin
...........Kiva Networking

Technical Details
Message-ID: <6c0lc0$gml$1@kold.kiva.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6c0lc0$gml$1@kold.kiva.net>
Subject: innd (1.7.2insync1.1d) blocking after fork
Date: Fri, 13 Feb 1998 00:00:00 +0000
From: cdent@kold.kiva.net (Chris Dent)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 324662336
Organization: Kiva Networking
Newsgroups: news.software.nntp