🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18116

Re: Why does nnrpd pause on 'article' and not 'head'/'body' ?

#18116
From: Pierre Belanger
Date: Fri, 30 May 1997 00:00
32 lines
1856 bytes
Terry Kyriacopoulos wrote:
> 
> I'm running INN 1.5.1 on Linux.  When I telnet (loopback) to innd and
> use the 'ARTICLE n' NNTP command, there is a one second pause before the
> article is output, but (and this is really mysterious) there is no pause
> at all when I use the 'HEAD n' or 'BODY n' commands.
> 
> Can anyone confirm or explain this?

The pause of 1 second is a compilation option.  You can remove
it if you want.  The pause is there to avoid a 'robot' from
polling your news server and taking too much CPU time ...

I have exchanged a few messages concerning this pause with James
and I beleive we both agreed that the pause should stay but
instead of pausing before sending the article we modified 
nnrpd to pause _after_ sending the article.  This way, robots
still get 'paused' and others, like you and I, if you take the
time to read the article you just retreive, you won't notice
the pause of -1- second.

I also suggested to James to have a 'variable pause' by considering
the load average of the machine.  James also suggested to have a
pause according to how many articles the 'reader' so far took...

I will post the patch here and mail it to you tomorrow when
I get to work...

Pierre Belanger - RISQ

Technical Details
Message-ID: <338E532C.6BC@risq.qc.ca>
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
References: <5mk90t$bb$1@dita.local>

Show Full Headers
Complete Article Headers
Message-ID: <338E532C.6BC@risq.qc.ca>
Subject: Re: Why does nnrpd pause on 'article' and not 'head'/'body' ?
Date: Fri, 30 May 1997 00:00:00 +0000
From: Pierre Belanger <pierre.belanger@risq.qc.ca>
References: <5mk90t$bb$1@dita.local>
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: 244877587
To: Terry Kyriacopoulos <terryk@interlog.com>
Organization: RISQ
Newsgroups: news.software.nntp