🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Ronald A. Andersen Tue, 18 Dec 2001 23:08
Article numbers
#55679
Author: Ronald A. Andersen
Date: Tue, 18 Dec 2001 23:08
12 lines
1231 bytes
I am connecting to a newsserver, and I have a couple of questions
regarding article numbers:

1) When I send the GROUP command, the article range does not start
with one, why not? How can I get the first article number?

2) Is there a max value for article numbers, and if it reaches a max,
does it start over with one.

3) What makes an article unique is the message-ID - not the article
number?
Re: Article numbers
#55678
Author: Martin Kotulla
Date: Wed, 19 Dec 2001 22:30
25 lines
1788 bytes
"Ronald A. Andersen" schrieb:

> 1) When I send the GROUP command, the article range does not start with
> one, why not? How can I get the first article number?

Because old messages already have expired. You can't get them anymore.
They are gone.

> 2) Is there a max value for article numbers, and if it reaches a max,
> does it start over with one.

2^31 if I remember correctly. When that number is reached, something very
bad happens. Fortunately, even for high-volume newsgroups, that event
will be very far in the future.

> 3) What makes an article unique is the message-ID - not the article
> number?

The Message-ID. The article number will be even different for the same
posting on different newsservers.

-mk


Re: Article numbers
#55680
Author: Curt Welch
Date: Wed, 19 Dec 2001 23:03
44 lines
2995 bytes
ronandersen@hotmail.com (Ronald A. Andersen) wrote:
> I am connecting to a newsserver, and I have a couple of questions
> regarding article numbers:
>
> 1) When I send the GROUP command, the article range does not start
> with one, why not? How can I get the first article number?

New articles are always added to the beginning so the high water
mark keeps going up as new articles come in.

The low water mark keeps going up as articles expire.  When the
server was first started the article numbers probably started at 1,
but they are long gone so you can't get them anymore.

> 2) Is there a max value for article numbers, and if it reaches a max,
> does it start over with one.

It's undefined.  Bad things will happen.

The highest volume groups get less than 50K articles a day, and with a
max article number of 2^31, that means it will take even thoes groups
over 100 years to hit the top.

The server will be reset before that happens.

But, if you are writting newsreader type code, you need to deal with
the case when one day you check the server and found the article numbers
have either jumped down (been reset), or jumps much higher.

> 3) What makes an article unique is the message-ID - not the article
> number?

The message-id is the unique name which is given to an article no matter
where it is in the world.  Every news server assigns article numbers based
on when the article shows up on that server, so the same article will be
assigned different numbers on every server.  And if it's cross posted to
multiple groups, it will be assigned a different number in each group which
it was posted to.  Servers add Xref: headers to document what article
number was assigned to the article for every group it was posted to.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Article numbers
#55683
Author: Greg Andrews
Date: Thu, 20 Dec 2001 08:51
49 lines
2368 bytes
ronandersen@hotmail.com (Ronald A. Andersen) writes:
>I am connecting to a newsserver, and I have a couple of questions
>regarding article numbers:
>
>1) When I send the GROUP command, the article range does not start
>with one, why not?
>

Because the reply to the GROUP command tells you the lowest and
highest article numbers ON THE SERVER.

After the server has been running long enough, it has deleted
(expired) the oldest articles in the group.  After that, the
lowest article number isn't 1 anymore.

>
> How can I get the first article number?
>

You can't get the "first" article number for a group unless you
are fortunate enough to talk to the server before it has started
expiring articles in tha group.  (i.e. it's a brand new group)

>
>2) Is there a max value for article numbers, and if it reaches a max,
>does it start over with one.
>

No standards have defined whether an article number rollover will
producs 1 or 0 as the next article number.

>
>3) What makes an article unique is the message-ID - not the article
>number?
>

The message-id (if properly constructed) makes an article unique among
all Usenet sites.

The article number makes an article unique within a news group on a
single server/site.


  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Re: Article numbers
#55686
Author: Francois Petillon
Date: Thu, 20 Dec 2001 09:58
11 lines
1455 bytes
"Ronald A. Andersen" wrote:
> 2) Is there a max value for article numbers, and if it reaches a max,
> does it start over with one.

It depends of the software. Inn stuck the HI/LO number to the max
value. Dreaderd expireover "crash" (infinite loop). I never know
what happened to get a "normal" group to the max number (probably
a makehistory on corrupted data).

  Fran�ois
Re: Article numbers
#55690
Author: Q Tip
Date: Thu, 20 Dec 2001 17:13
15 lines
1257 bytes
gerg@panix.com (Greg Andrews) wrote:

>ronandersen@hotmail.com (Ronald A. Andersen) writes:

>> How can I get the first article number?

>You can't get the "first" article number for a group unless you
>are fortunate enough to talk to the server before it has started
>expiring articles in tha group.  (i.e. it's a brand new group)

Even then, some software counts the control message as 1  So the first
article users will see is 2
-- 
Q Tip
Re: Article numbers
#55701
Author: Ronald A. Andersen
Date: Fri, 21 Dec 2001 19:00
17 lines
1547 bytes
ronandersen@hotmail.com (Ronald A. Andersen) wrote in message news:<7425b840.0112181508.7d00400c@posting.google.com>...
> I am connecting to a newsserver, and I have a couple of questions
> regarding article numbers:
> 
> 1) When I send the GROUP command, the article range does not start
> with one, why not? How can I get the first article number?
> 
> 2) Is there a max value for article numbers, and if it reaches a max,
> does it start over with one.
> 
> 3) What makes an article unique is the message-ID - not the article
> number?

***********************************************************************

Thanks for your responses..
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