🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Christian Hoffmann Fri, 24 Mar 2006 08:35
Unread / Total Messages number mismatch
#73453
Author: Christian Hoffmann
Date: Fri, 24 Mar 2006 08:35
19 lines
1512 bytes
Hi all,

We set up a small local (no peering, no suck) inn server
(V. 2.4.1) and did some testing (eg. generating and cancelling
hundreds of articles) before going live.

Everything works fine, but the amount of total/unread messages
shown by the news reader client (Netscape/Mozilla) after starting
the client is wrong, until the group is selected once.

Eg. Netscape says "1 unread, 2 Total" and if I select the group
its empty (because all articles were cancelled, which is correct)

Could someone please help me understanding this behaviour?

Regards,

Christian
Re: Unread / Total Messages number mismatch
#73454
Author: Jeffrey M. Vinocur
Date: Fri, 24 Mar 2006 14:26
17 lines
1646 bytes
In article <48hpdlFk7l58U1@individual.net>,
Christian Hoffmann  <brcwcs@gmx.net> wrote:
>
>Eg. Netscape says "1 unread, 2 Total" and if I select the group
>its empty (because all articles were cancelled, which is correct)

Your newsreader has to estimate these values based on the numbers
that it gets from the active file ($pathdb/active on the server).
There's definitely a little skew in the process.  Sometimes if
you wait a day, the overnight expiration will clean things up a
little.  The only other thing you could try is turning on
"nnrpdcheckart" in inn.conf.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Unread / Total Messages number mismatch
#73455
Author: Bert Hyman
Date: Fri, 24 Mar 2006 14:34
19 lines
1884 bytes
brcwcs@gmx.net (Christian Hoffmann) wrote in
news:48hpdlFk7l58U1@individual.net: 

> Eg. Netscape says "1 unread, 2 Total" and if I select the group
> its empty (because all articles were cancelled, which is correct)

When articles arrive, they're assigned article numbers. When an
article is cancelled, that article number is still occupied, so that
there will be gaps in the sequence numbers of existing articles. 

If you receive 5 articles, numbered 1 to 5, then cancel 2, 3 and 4,
then query the server about the group they're in, it will simply
report the number of articles based on the highest and lowest article
number, which would make it appear that there are 5 articles in the
group. When you actually try to fetch the articles, you'll find that
there's really only two. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
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