🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Michael Hucka Sat, 03 May 1997 00:00
Minor fix to nntpsend
#17509
Author: Michael Hucka
Date: Sat, 03 May 1997 00:00
33 lines
1699 bytes
I recently began noticing multiple innxmit's running for identical sites from
our server.  The nntpsend log shows

    Can't send "flush" command (timeout failure) Connection timed out.
    nntpsend: bad flush for news.msha.gov via msha
    nntpsend: trying news.msha.gov via msha anyway

Looking at nntpsend, I found two places where nntpsend tries to do a "ctlinnd
flush" on the sites, but uses only a 30 second timeout.  I believe this is
insufficient; sometimes innd can be busy enough to incur a longer wait.

Here's a simple patch to increase the timeout parameter to 120 seconds, which
I think is more reasonble for today's busy news servers.

RCS file: RCS/nntpsend,v
retrieving revision 1.18
retrieving revision 1.17
361c361
< 	if ctlinnd -s -t120 flush ${SITE} ; then
---
> 	if ctlinnd -s -t30 flush ${SITE} ; then
377c377
< 	ctlinnd -s -t120 flush ${SITE}
---
> 	ctlinnd -s -t30 flush ${SITE}

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

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