🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Chris Dent Fri, 13 Feb 1998 00:00
innd (1.7.2insync1.1d) blocking after fork
#26200
Author: 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

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