🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Steve Lodin Wed, 21 May 1997 00:00
INN 1.5.1 news.notice "timeout short" messagee
#17902
Author: Steve Lodin
Date: Wed, 21 May 1997 00:00
73 lines
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

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