🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by John F. Morse Wed, 06 Jan 2010 23:03
Spooled articles
#82491
Author: John F. Morse
Date: Wed, 06 Jan 2010 23:03
34 lines
2373 bytes
I have a question concerning how INN spools articles that are fed to peers.

For the past 3-4 days, one of my peers has been AWOL. One of my local
reader users noticed missing articles in one group that this peer feeds
to me. This group is also fed to me by several other peers, but there
were only two articles received out of several hundred from these other
peers.

The missing articles were observed on one peer's spool using a
newsreader connection, so the other peers had the articles.

When the AWOL peer was back on line, there were thousands of articles
received, including hundreds in this one group, stretching back 3-4
days. Additionally there were 1000 articles that were reported as TooOld
in the Daily Report.

I don't understand why the other peers didn't send the missing articles,
since at least one I checked did have them available for their reader
server.

Could these articles be kept back on these peer's spools because one
peer was not available?

Or does INN go ahead and send to the peers it can connect to, and then
spool only articles for later transmit to any "no connection" peer?

(The /var/log/news log displays the peers where articles go. Is this
line broken up if a peer doesn't answer?)


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Spooled articles
#82492
Author: Julien ÉLIE
Date: Wed, 06 Jan 2010 23:22
36 lines
2307 bytes
Hi John,

> I don't understand why the other peers didn't send the missing articles,
> since at least one I checked did have them available for their reader
> server.

Are you sure you never received, and rejected, that article?
No trace of its message-ID in your logs?

Couldn't you ask your peer to check to which sites it sent that article?


> Could these articles be kept back on these peer's spools because one
> peer was not available?

It would be a bug.


> Or does INN go ahead and send to the peers it can connect to, and then
> spool only articles for later transmit to any "no connection" peer?

Yes.


> (The /var/log/news log displays the peers where articles go. Is this
> line broken up if a peer doesn't answer?)

No.  It only means that the article has been marked to be sent to these
sites.  innfeed then does that, or spools the article if the peer
does not respond.

-- 
Julien ÉLIE

« Ralentissez ! Esclaves au travail ! » (Astérix) 
Re: Spooled articles
#82493
Author: Bruce Esquibel
Date: Thu, 07 Jan 2010 13:38
22 lines
1770 bytes
John F. Morse <john@example.invalid> wrote:

> I don't understand why the other peers didn't send the missing articles,
> since at least one I checked did have them available for their reader
> server.


You need to check with the other peers and find out what they have for your
feed.

In the past I've ran across requests like "send big 8 and alt" then they
wonder why like seattle.general is missing from the feed.

I'm guessing that system that went AWOL is the only one feeding you the
group and the few articles that did show up while they were gone were
probably crossposted articles.

I'm just saying, requesting big 8 and alt isn't the same thing as
"everything but the binaries".

-bruce
bje@ripco.com
Re: Spooled articles
#82499
Author: John F. Morse
Date: Thu, 07 Jan 2010 19:01
46 lines
2649 bytes
Bruce Esquibel wrote:
> John F. Morse <john@example.invalid> wrote:
>   
>> I don't understand why the other peers didn't send the missing articles,
>> since at least one I checked did have them available for their reader
>> server.
>>     
>
> You need to check with the other peers and find out what they have for your
> feed.
>
> In the past I've ran across requests like "send big 8 and alt" then they
> wonder why like seattle.general is missing from the feed.
>
> I'm guessing that system that went AWOL is the only one feeding you the
> group and the few articles that did show up while they were gone were
> probably crossposted articles.
>
> I'm just saying, requesting big 8 and alt isn't the same thing as
> "everything but the binaries".
>
> -bruce
> bje@ripco.com
>   

You hit the nail on the head exactly. ;-)

The group in question was alt.comp.freeware and I had requested
"alt.comp" instead of "alt.comp.*" from most of my peers.

One peer had somehow misplaced part of my request, and another peer had
not even been provided that group.

So the crosspost theory is exactly what happened.

It's all my fault, so I shall go off into the sunset in shame. :-[

Actually, with 2-3 feet of snow on the ground, most since Christmas Eve,
some sunset would be nice to see!

Thanks Bruce.

-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Spooled articles
#82500
Author: John F. Morse
Date: Thu, 07 Jan 2010 19:38
63 lines
3213 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> I don't understand why the other peers didn't send the missing articles,
>> since at least one I checked did have them available for their reader
>> server.
>
> Are you sure you never received, and rejected, that article?
> No trace of its message-ID in your logs?


There were hundreds of articles observed at one of my peers, when I was
using a newsreader connection for checking. These articles were not sent
to my server via mode stream.

I did grep both /var/log/news/news and /var/log/news/news.notice for the
Message-ID to see if they were involved in a NoCeM cancel. No mention of
the Message-IDs. They just never arrived.


> Couldn't you ask your peer to check to which sites it sent that article?


This would involve hundreds of articles (plural) from several peers.

I finally discovered the problem was my error in requesting
sub-hierarchies. I had omitted the "*" wildcard character!

A half-dozen of the hundreds of articles did arrive from other peers,
but they gained access because they were all crossposted. ;-)


>> Or does INN go ahead and send to the peers it can connect to, and then
>> spool only articles for later transmit to any "no connection" peer?
>
> Yes.
>
>> (The /var/log/news log displays the peers where articles go. Is this
>> line broken up if a peer doesn't answer?)
>
> No.  It only means that the article has been marked to be sent to these
> sites.  innfeed then does that, or spools the article if the peer
> does not respond.


OK, that explains that part. Now three more questions:

These spooled articles are not logged anywhere at the time they are
eventually transmitted on the wire (except at a receiving site)?

Is there a method to view what articles are spooled and awaiting
transmission?

How long will they remain in the spool, waiting on a good connection to
a peer?

Thanks for your help, Julien.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Spooled articles
#82501
Author: Julien ÉLIE
Date: Thu, 07 Jan 2010 19:52
33 lines
2362 bytes
Hi John,

> These spooled articles are not logged anywhere at the time they are
> eventually transmitted on the wire (except at a receiving site)?

No log.


> Is there a method to view what articles are spooled and awaiting
> transmission?

There is a backlog-directory: setting in innfeed.conf.
The default is "innfeed".  So spooled articles are in <pathspool>/innfeed.

procbatch should be used on dropped innfeed files, if any.  (news.daily
does that automatically in INN 2.5.0)
lock files should not be touched.
Other files contain articles (storage tokens) that are spooled.


> How long will they remain in the spool, waiting on a good connection to
> a peer?

See options like backlog-limit: and backlog-factor: in innfeed.conf.
Basically, it is a size limit.

-- 
Julien ÉLIE

« En fait, je n'ai qu'une prétention, c'est de ne pas
  plaire à tout le monde. Plaire à tout le monde, c'est plaire
  à n'importe qui. » (Sacha Guitry) 
Re: Spooled articles
#82503
Author: John F. Morse
Date: Thu, 07 Jan 2010 23:28
40 lines
2403 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> These spooled articles are not logged anywhere at the time they are
>> eventually transmitted on the wire (except at a receiving site)?
>
> No log.
>
>
>> Is there a method to view what articles are spooled and awaiting
>> transmission?
>
> There is a backlog-directory: setting in innfeed.conf.
> The default is "innfeed".  So spooled articles are in
> <pathspool>/innfeed.
>
> procbatch should be used on dropped innfeed files, if any.  (news.daily
> does that automatically in INN 2.5.0)
> lock files should not be touched.
> Other files contain articles (storage tokens) that are spooled.
>
>
>> How long will they remain in the spool, waiting on a good connection to
>> a peer?
>
> See options like backlog-limit: and backlog-factor: in innfeed.conf.
> Basically, it is a size limit.
>

This is good info to know. Thanks, Julien.

Is there any documentation on how and when procbatch should be used?

I find only limited help info when procbatch is run without any options.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Spooled articles
#82507
Author: Julien ÉLIE
Date: Fri, 08 Jan 2010 07:06
18 lines
2071 bytes
Hi John,

> Is there any documentation on how and when procbatch should be used?
> I find only limited help info when procbatch is run without any options.

:)

See that thread where I quote a document written by Russ:
    http://groups.google.fr/group/news.software.nntp/browse_frm/thread/a8f55d680f090453
    <news:gpm8vt$9fs$1@news.trigofacile.com>

-- 
Julien ÉLIE

« En fait, je n'ai qu'une prétention, c'est de ne pas
  plaire à tout le monde. Plaire à tout le monde, c'est plaire
  à n'importe qui. » (Sacha Guitry) 
Re: Spooled articles
#82512
Author: John F. Morse
Date: Fri, 08 Jan 2010 21:29
65 lines
3784 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> Is there any documentation on how and when procbatch should be used?
>> I find only limited help info when procbatch is run without any options.
>
> :)
>
> See that thread where I quote a document written by Russ:
>   
> http://groups.google.fr/group/news.software.nntp/browse_frm/thread/a8f55d680f090453
>
>    <news:gpm8vt$9fs$1@news.trigofacile.com>
>

I see why you used the smiley. ;-)

You have a terrific memory, my friend.

After viewing that, it's all coming back to me now.

I guess with only three weeks remaining before I'm 65, my lights are
slowly dimming. ;-)

I should shut 'em all down and go fishing.

Before I go though, please take a look at this and tell me if the five
files back in July are candidates for simple rm deletion (peers munged
to protect the innocent):

john@optima2:/var/spool/news/innfeed$ ls -al
total 69
drwxrwxr-x  2 news news   696 2010-01-08 03:02 .
drwxr-xr-x 11 news news   504 2009-12-24 00:28 ..
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer1.lock
-rw-rw-r--  1 news news     0 2010-01-07 17:41 peer1.output
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer2.lock
-rw-rw-r--  1 news news     0 2010-01-07 22:47 peer2.output
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer3.lock
-rw-rw-r--  1 news news     0 2010-01-03 20:27 peer3.output
-rw-rw-r--  1 news news 11493 2009-07-01 12:51 peer3a.output
-rw-rw-r--  1 news news     0 2010-01-03 20:27 innfeed-dropped.A031023
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer4.lock
-rw-rw-r--  1 news news     0 2010-01-06 23:27 peer4.output
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer5.lock
-rw-rw-r--  1 news news     0 2010-01-07 00:05 peer5.output
-rw-r--r--  1 news news     6 2010-01-03 20:27 peer6.lock
-rw-rw-r--  1 news news     0 2010-01-08 03:02 peer6.output
-rw-rw-r--  1 news news  4038 2009-07-07 06:16 peer6a.input
-rw-rw-r--  1 news news 23298 2009-07-07 07:38 peer6a.output
-rw-rw-r--  1 news news   107 2009-07-07 07:21 peer6b.output

I suspect these were peers who changed their FQDN or path tokens.

I must have done something in an incorrect sequence to abandon these.

Thanks Julien.

(You got snow? http://www.kansascity.com/934/gallery/1666920.html )


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Spooled articles
#82513
Author: Julien ÉLIE
Date: Fri, 08 Jan 2010 21:43
28 lines
2575 bytes
Hi John,

> Before I go though, please take a look at this and tell me if the five
> files back in July are candidates for simple rm deletion (peers munged
> to protect the innocent)
>
> -rw-rw-r--  1 news news 11493 2009-07-01 12:51 peer3a.output
> -rw-rw-r--  1 news news  4038 2009-07-07 06:16 peer6a.input
> -rw-rw-r--  1 news news 23298 2009-07-07 07:38 peer6a.output
> -rw-rw-r--  1 news news   107 2009-07-07 07:21 peer6b.output

You can delete these four files.  They do not correspond to any still
used peer.


> (You got snow? http://www.kansascity.com/934/gallery/1666920.html )

Yes, we have had a little snow in Paris since two days.
See these photos (December 2009 -- but it is almost the same today):
    http://www.symbioz.net/forum/ouragan/messages.php?topic=4606

-- 
Julien ÉLIE

« En fait, je n'ai qu'une prétention, c'est de ne pas
  plaire à tout le monde. Plaire à tout le monde, c'est plaire
  à n'importe qui. » (Sacha Guitry) 
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