🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Jim Clausing Tue, 01 Oct 1991 20:42
Re: hanging nnmaster(8)
#2121
Author: Jim Clausing
Date: Tue, 01 Oct 1991 20:42
53 lines
3170 bytes
In article <steve.686341555@unidata.ucar.edu> steve@unidata.ucar.edu (Steve Emmerson) writes:
>Greetings,
>
>Would some kind soul please tell me why my nnmaster(8) daemon sometimes 
>hangs.  Here's some typical log entries:
>
>C: Oct  1 02:13 (M): Collect: 1 art, 1 gr, 1 s
>N: Oct  1 02:43 (M): Failed to connect to NNTP server
>N: Oct  1 02:43 (M): Response: 400 loadav at 9, try later
>N: Oct  1 02:43 (M): Can't access active file --- sleeping
>A: Oct  1 02:45 (news): SEND X (all)   0
>N: Oct  1 02:45 (M): Failed to connect to NNTP server
>N: Oct  1 02:45 (M): Response: 400 loadav at 9, try later
[...]
>N: Oct  1 03:25 (M): Failed to connect to NNTP server
>N: Oct  1 03:25 (M): Response: 400 loadav at 11, try later
>N: Oct  1 03:25 (M): Can't access active file --- sleeping
>A: Oct  1 03:35 (M): RECV X (all)   0 (news Oct  1 02:45)
>X: Oct  1 11:42 (M): Expire: 9633 art, 539 gr, 29240 s
>C: Oct  1 11:52 (M): new group: rec.video.cable-tv (806)
>C: Oct  1 12:24 (M): Collect: 7249 art, 525 gr, 1935 s
>
>Note the large temporal gap between 03:35 and 11:42.

Yes, but that isn't a hang.  That is the time it is taking to do the
local expire on the database.  Blame this one on the load on your 
NNTP server (how was the load on the local machine during that time?).  
Note the time between the SEND X (all) and RECV X (all).  If your 
server isn't busy this should be almost immediate (certainly not 
50 minutes) and then the expire would take (assuming you have about 
the same news volume we do) several (usually for us about 3) hours 
during which nnmaster keeps asking the server for a list of all the 
articles in each group (one group at a time) and updating the database 
to remove the articles that are no longer present on the server.  
If your server is slow because of climbing load over that period of 
time then it will take longer to get responses back when nnmaster 
asks for a list of the articles in the next group.  This is time 
that nnmaster will sit around not doing anything useful.  It looks 
like your server was also receiving a great deal of news during the 
time that you were trying to expire (see the 12:24 collect number vs. 
the 11:42 expire number).  Our expires have occasionally taken up 
to 5 hours when the load was heavy on the server.

>--
>
>Steve Emmerson        steve@unidata.ucar.edu        ...!ncar!unidata!steve


-- 
Jim Clausing 			jac@tinton.ccur.com
Parallel Processing Tools	ph. (908)758-7693
Concurrent Computer Corp.
Tinton Falls, NJ  07724
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