Article View: news.software.nntp
Article #9732Re: Am getting lots of nnrpd errors like...
From: Fabien TASSIN
Date: Tue, 30 Jul 1996 00:00
Date: Tue, 30 Jul 1996 00:00
86 lines
3427 bytes
3427 bytes
0000-Admin (0000) wrote:
>
> I am getting lots of errors from our ppp users like:
>
> Jul 29 10:15:54 terminus nnrpd[795]: ppp35.intermind.net cant read Connection reset by peer
> Jul 29 10:59:47 terminus nnrpd[2570]: ppp25.intermind.net cant read Connection timed out
> Jul 29 11:03:40 terminus nnrpd[2594]: ppp31.intermind.net cant read Connection reset by peer
>
> Is there something wrong with nnrpd or inn? People seen to be able to read
> news OK, but I'm worried that something is about to die. Can you help me?
it does not indicate a problem. This only means that the client was idle or close
the connexion without the QUIT command.
I've changed my innlog.awk to understand these lines :
===========================================================================================
$ diff -c innlog.awk innlog.awk.orig
*** innlog.awk Fri Mar 15 09:37:23 1996
--- innlog.awk.orig Mon Dec 18 13:08:13 1995
***************
*** 34,40 ****
mthreads_turned_on = 0;
nnrp = 0;
nnrp_gethostfails = 0;
- nnrp_resetpeers = 0;
nnrp_noperms = 0;
nnrp_readers = 0;
nnrp_unrecs = 0;
--- 34,39 ----
***************
*** 160,173 ****
## Skip; handled in "gethostbyaddr:" above.
next;
}
-
- if ($7 == "cant" && $9 == "Connection") {
- ## Added by Fabien TASSIN (tassin@eerie.fr)
- ## to perform lines : cant read Connection reset by peer
- nnrp_resetpeers = 1;
- nnrp_resetpeer[$6]++;
- next;
- }
}
--- 159,164 ----
***************
*** 1467,1490 ****
}
printf("\n");
}
- if (nnrp_resetpeers) {
- # Added by Fabien TASSIN (see above)
- printf("NNRP Connection reset by peer\n");
- printf("System Conn\n");
- for ( ; ; ) {
- s = invalid;
- for (sortindex in nnrp_resetpeer)
- if (nnrp_resetpeer[sortindex] >= 0 && sortindex < s)
- s = sortindex;
- if (s == invalid)
- break;
- printf("%-20.20s %5d\n", s, nnrp_resetpeer[s]);
-
- nnrp_resetpeer[s] = -1;
- }
- printf("\n");
- }
-
if (nnrp_gethostfails) {
printf("NNRP gethostbyname failures\n");
printf("IP Conn\n");
--- 1458,1463 ----
===========================================================================================
Results are quite the same as the "NNRP client timeouts" tab so you can also
ignore them (by removing the printf in the patch)
--
Fabien TASSIN - EERIE Nimes - CRI Rennes
tassin@eerie.fr - Fabien.Tassin@univ-rennes1.fr
Technical Details
Message-ID:
<31FDFCB1.2A44@eerie.fr>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-mailReferences:
<199607300034.RAA22671@intermind.net>Show Full Headers
Complete Article Headers
Message-ID: <31FDFCB1.2A44@eerie.fr> Subject: Re: Am getting lots of nnrpd errors like... Date: Tue, 30 Jul 1996 00:00:00 +0000 From: Fabien TASSIN <tassin@eerie.fr> References: <199607300034.RAA22671@intermind.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 X-Deja-AN: 171373241 Cc: dougp@intermind.net Content-type: text/plain; charset=us-ascii Organization: EERIE - Nimes (France) Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 3.0b4 (X11; I; SunOS 5.4 sun4d)