Article View: news.software.nntp
Article #17902INN 1.5.1 news.notice "timeout short" messagee
From: Steve Lodin
Date: Wed, 21 May 1997 00:00
Date: Wed, 21 May 1997 00:00
73 lines
3239 bytes
3239 bytes
I'm getting alot of "timeout short" messages in news.notice (in the
100's). Here is an example.
May 21 08:45:54 server nnrpd[27468]: client.delcoelect.com timeout short
I've tried to determine the source, but have been unable to find some
common criteria on the clients.
I've looked at the INN FAQs and innreport from Fabio, but I can't find
any information about the "timeout short" message. Has anyone else
seen this? Is there something I can do at the server to prevent this?
Is it a client or server or network problem?
More information ---------------------------------------------------
The code in nnrpd.c is shown below. My CLIENT_TIMEOUT is set (60*60)
instead of (10*60) in config.data.
/* Main dispatch loop. */
for (timeout = INITIAL_TIMEOUT, av = NULL; ; timeout = CLIENT_TIMEOUT) {
(void)fflush(stdout);
if (ChangeTrace) {
Tracing = Tracing ? FALSE : TRUE;
syslog(L_TRACE, "trace %abled", Tracing ? "en" : "dis");
ChangeTrace = FALSE;
}
if (PushedBack) {
if (PushedBack[0] == '\0')
continue;
if (Tracing)
syslog(L_TRACE, "%s < %s", ClientHost, PushedBack);
ac = Argify(PushedBack, &av);
}
else
switch (r = READline(buff, (int)sizeof buff, timeout)) {
default:
syslog(L_ERROR, "%s internal %d in main", ClientHost, r);
/* FALLTHROUGH */
case RTtimeout:
if (timeout < CLIENT_TIMEOUT)
--> syslog(L_NOTICE, "%s timeout short", ClientHost);
else
syslog(L_NOTICE, "%s timeout", ClientHost);
Printf("%d Timeout after %d seconds, closing connection.\r\n",
NNTP_TEMPERR_VAL, timeout);
ExitWithStats(1);
break;
case RTlong:
Reply("%d Line too long\r\n", NNTP_BAD_COMMAND_VAL);
continue;
case RTok:
/* Do some input processing, check for blank line. */
if (Tracing)
syslog(L_TRACE, "%s < %s", ClientHost, buff);
if (buff[0] == '\0')
continue;
ac = Argify(buff, &av);
break;
case RTeof:
/* Handled below. */
break;
}
--
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479
"Hacking is an art, but most programmers are butchers, not artists."
-- Marshall T. Rose
Technical Details
Message-ID:
<5lv4nq$ks1$1@kocrsv08.delcoelect.com>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-mailShow Full Headers
Complete Article Headers
Message-ID: <5lv4nq$ks1$1@kocrsv08.delcoelect.com> Subject: INN 1.5.1 news.notice "timeout short" messagee Date: Wed, 21 May 1997 00:00:00 +0000 From: swlodin@delcoelect.com (Steve Lodin) 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: 242979344 Organization: Delco Electronics Corp. Newsgroups: news.software.nntp Originator: swlodin@kocrsw26