🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Avon Kerr Tue, 05 Jan 2016 07:12
Best way to stop dated atricles being sent
#87300
Author: Avon Kerr
Date: Tue, 05 Jan 2016 07:12
34 lines
2322 bytes
We recently peered with a system and within the first hour of news flowing 
between both NNTP servers I was asked to correct an error at our end as we 
were 'sending too many old messages'.

A snippet of a log I was sent showed several examples of '439 too old'  
errors related to a bunch of news Agency was sending dated 9 August 2015.

I'm presuming because inn.conf likely had artcutoff set to 10 this is why 
the errors occurred - and that seems fine to me.

I'm also assuming because this was the start of a fresh peer between both 
systems, Agency was sending everything is had on file to start with, but 
would have fairly quickly exhausted what it had as 'new' news to send to 
the peer?

My question is, what's the best way for me to handle this request? Is 
there something I could/should have changed at my end to avoid sending a 
bunch of older articles when the configuration files was loaded for the 
new peered system? Or is this just normal for an initial peering and the 
receiving end should just ride the initial wave of old 'rejected' news 
when the peering starts?

At present Agency is receiving news from them but our infeed status shows 
news spooling for them after (I presume) they turned of the incoming flow 
from us at their end.

Your thoughts and wisdom appreciated.

Best, Paul.

-- 
Agency News | news.bbs.geek.nz

Re: Best way to stop dated atricles being sent
#87302
Author: Kevin Bowling
Date: Tue, 05 Jan 2016 09:08
42 lines
2778 bytes
On 01/ 5/16 12:12 AM, Avon Kerr wrote:
> We recently peered with a system and within the first hour of news flowing 
> between both NNTP servers I was asked to correct an error at our end as we 
> were 'sending too many old messages'.
> 
> A snippet of a log I was sent showed several examples of '439 too old'  
> errors related to a bunch of news Agency was sending dated 9 August 2015.
> 
> I'm presuming because inn.conf likely had artcutoff set to 10 this is why 
> the errors occurred - and that seems fine to me.
> 
> I'm also assuming because this was the start of a fresh peer between both 
> systems, Agency was sending everything is had on file to start with, but 
> would have fairly quickly exhausted what it had as 'new' news to send to 
> the peer?
> 
> My question is, what's the best way for me to handle this request? Is 
> there something I could/should have changed at my end to avoid sending a 
> bunch of older articles when the configuration files was loaded for the 
> new peered system? Or is this just normal for an initial peering and the 
> receiving end should just ride the initial wave of old 'rejected' news 
> when the peering starts?
> 
> At present Agency is receiving news from them but our infeed status shows 
> news spooling for them after (I presume) they turned of the incoming flow 
> from us at their end.
> 
> Your thoughts and wisdom appreciated.
> 
> Best, Paul.
> 

You will begin spooling to the site as soon as you refresh your
newsfeeds.  innfeed will not dig up articles, but if you are transiting
there could be articles sent with a splay up to whatever your own
artcutoff is.  As a simple sanity check, make sure your system's clock
is syncd.

Regards,
Kevin

Re: Best way to stop dated atricles being sent
#87301
Author: Avon Kerr
Date: Tue, 05 Jan 2016 10:32
35 lines
2442 bytes
On Tue, 05 Jan 2016 02:08:54 -0700, Kevin Bowling wrote:

> You will begin spooling to the site as soon as you refresh your
> newsfeeds.  innfeed will not dig up articles, but if you are transiting
> there could be articles sent with a splay up to whatever your own
> artcutoff is.  As a simple sanity check, make sure your system's clock
> is syncd.

Thanks Kevin, yep system time is all good.

I think what has happened is that I had set up peering for this server 
back when I first established my system in August 2015. I had left things 
running for several months while I had hoped to hear back from them to get 
the peer up and running. All this time my system was spooling news for 
them. 

After a few attempts to gain peering with them went unanswered I commented 
out the config settings in incoming.conf , infeed.conf and newsfeeds.

I now realise when we did finally set up and connect today they were being 
hit hard with a bunch of unwanted news I had still sitting in the spool. 
That's my error (unknowingly) and a lesson learnt the hard way. I've 
apologised to the newsmaster concerned.

I am not sure what commands or steps I could currently take to remove the 
spooled content for their system but as it stands it's likely to just play 
out with old stuff being sent and rejected until the system catches up to 
real time.

Best, Paul.

-- 
Agency News | news.bbs.geek.nz

Re: Best way to stop dated articles being sent
#87304
Author: D. Stussy
Date: Sat, 09 Jan 2016 02:15
16 lines
1772 bytes
"Avon Kerr"  wrote in message news:n6fqdn$3i5$2@news.bbs.geek.nz...
We recently peered with a system and within the first hour of news flowing
between both NNTP servers I was asked to correct an error at our end as we
were 'sending too many old messages'.
....
I'm presuming because inn.conf likely had artcutoff set to 10 this is why
the errors occurred - and that seems fine to me.
....
===============
The default cutoff (from INN) is 30 days old.  That may explain some 
articles.

As for why you got articles from a period older than that, I don't know.


Re: Best way to stop dated articles being sent
#87305
Author: Avon Kerr
Date: Sat, 09 Jan 2016 19:54
28 lines
1931 bytes
On Fri, 08 Jan 2016 18:15:40 -0800, D. Stussy wrote:


> The default cutoff (from INN) is 30 days old.  That may explain some
> articles.
> 
> As for why you got articles from a period older than that, I don't know.

Hi Dieter,

Thanks for your thoughts. In the end it was because I had set up peering 
info for a NNTP site well before we had started peering. Agency News then 
started sending a lot of old spooled news when we did end up peering.

It was an error made in ignorance and learnt a lot that day, now when I 
see systems I peer with that are not accepting news for more than 24 hours 
I tend to drop the site feed and advise the news master. I'll then begin a 
new feed when I know things are fine.

I **think** this is the best way to handle such things but happy to take 
further feedback and suggestions from the group.

Best, Paul.

-- 
Agency News | news.bbs.geek.nz

Re: Best way to stop dated atricles being sent
#87311
Author: Julien ÉLIE
Date: Sun, 10 Jan 2016 20:29
36 lines
2517 bytes
Hi Paul,

> I think what has happened is that I had set up peering for this server
> back when I first established my system in August 2015. I had left things
> running for several months while I had hoped to hear back from them to get
> the peer up and running. All this time my system was spooling news for
> them.

It explains what happened, indeed.



> I now realise when we did finally set up and connect today they were being
> hit hard with a bunch of unwanted news I had still sitting in the spool.
> That's my error (unknowingly) and a lesson learnt the hard way.
>
> I am not sure what commands or steps I could currently take to remove the
> spooled content for their system

You have a directory where information about spooled contents is stored.
Something like /var/spool/news/spool/innfeed (see pathspool in inn.conf).

You will see a non-empty output file for the peer you are speaking 
about.  Just remove that file.  For instance:

-rw------- 1 news news  33M 2016-01-10 21:02 news.julien-arlandis.fr.output

To be sure everything still works fine, reload the newsfeeds file to 
flush all innfeed channels.  The output file should reappear (empty).

-- 
Julien ÉLIE

« Donec eris felix, multos numerabis amicos. » (Ovide)

Re: Best way to stop dated articles being sent
#87310
Author: Julien ÉLIE
Date: Sun, 10 Jan 2016 20:35
17 lines
1540 bytes
Hi Dieter,

> The default cutoff (from INN) is 30 days old.

Where do you take that information?
It is currently 10 days old.  (And was 14 days in INN 2.2, released in 
1999.)

See the artcutoff parameter in inn.conf:
     http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html

-- 
Julien ÉLIE

« Animi limina. »

Re: Best way to stop dated atricles being sent
#87313
Author: Julien ÉLIE
Date: Sun, 10 Jan 2016 20:47
16 lines
1755 bytes
> You will see a non-empty output file for the peer you are speaking
> about.  Just remove that file.
>
> To be sure everything still works fine, reload the newsfeeds file to
> flush all innfeed channels.  The output file should reappear (empty).

Note:  I think the newly created output file may be non-empty.  In that 
case, it contains pretty recent articles (written to disk after having 
flushed the innfeed channels).

-- 
Julien ÉLIE

« Animi limina. »

Re: Best way to stop dated articles being sent
#87315
Author: D. Stussy
Date: Sun, 10 Jan 2016 21:26
16 lines
1774 bytes
"Julien ÉLIE"  wrote in message news:n6ufag$erf$1@news.trigofacile.com...
Where do you take that information?
It is currently 10 days old.  (And was 14 days in INN 2.2, released in
1999.)

See the artcutoff parameter in inn.conf:
     http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html
===================

The "-c" parameter to controlchan switches off its age filter of 30 days 
(back when it was hardcoded).  Now, it follows the inn.conf value.

The inn.conf value has varied. 


Re: Best way to stop dated articles being sent
#87316
Author: Julien ÉLIE
Date: Mon, 11 Jan 2016 20:35
37 lines
2349 bytes
Hi Dieter,

> Where do you take that information?
> It is currently 10 days old.  (And was 14 days in INN 2.2, released in
> 1999.)
>
> See the artcutoff parameter in inn.conf:
>      http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html
> ===================
>
> The "-c" parameter to controlchan switches off its age filter of 30 days
> (back when it was hardcoded).  Now, it follows the inn.conf value.

:-)
I am very well aware of the "-c" flag parameter to controlchan as I 
wrote that code 5 years ago:
     https://inn.eyrie.org/trac/changeset/9241

Previously, no cutoff was enforced.  It has followed the inn.conf value 
since its implementation.


> The inn.conf value has varied.

Sure, from 14 days in INN 2.0 to 10 days (in recent versions).  See the 
inn.conf sample shipped with old INN 2.0:
     https://inn.eyrie.org/trac/browser/tags/2.0/samples/inn.conf.in

Maybe you are speaking of another program in INN, or another news 
software than INN?

-- 
Julien ÉLIE

« Veni, uidi, et je n'en crois pas mes yeux ! » (César)

Re: Best way to stop dated atricles being sent
#87317
Author: Avon Kerr
Date: Tue, 12 Jan 2016 03:41
29 lines
2020 bytes
On Sun, 10 Jan 2016 21:29:59 +0100, Julien ÉLIE wrote:

>> I am not sure what commands or steps I could currently take to remove
>> the spooled content for their system
> 
> You have a directory where information about spooled contents is stored.
> Something like /var/spool/news/spool/innfeed (see pathspool in
> inn.conf).
> 
> You will see a non-empty output file for the peer you are speaking
> about.  Just remove that file.  For instance:
> 
> -rw------- 1 news news  33M 2016-01-10 21:02
> news.julien-arlandis.fr.output
> 
> To be sure everything still works fine, reload the newsfeeds file to
> flush all innfeed channels.  The output file should reappear (empty).

Thanks Julien... yes I had discovered those files after the fact but will 
use this information should I ever need to avoid the issue in the future.

Hope life is treating you well.

Best, Paul

-- 
Agency News | news.bbs.geek.nz

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