Article View: news.software.nn
Article #2121Re: hanging nnmaster(8)
From: Jim Clausing
Date: Tue, 01 Oct 1991 20:42
Date: Tue, 01 Oct 1991 20:42
53 lines
3170 bytes
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
Technical Details
Message-ID:
<1136@ocpt.ccur.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!ocpt!jacReferences:
<steve.686341555@unidata.ucar.edu>Show Full Headers
Complete Article Headers
Message-ID: <1136@ocpt.ccur.com> Subject: Re: hanging nnmaster(8) Date: Tue, 01 Oct 1991 20:42:39 +0000 From: jac@tinton.ccur.com (Jim Clausing) References: <steve.686341555@unidata.ucar.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!ocpt!jac Newsgroups: news.software.nn Sender: news@ocpt.ccur.com Organization: Concurrent Computer Corp., Tinton Falls, NJ Lines: 53