Thread View: news.software.readers
5 messages
5 total messages
Started by Karl Mosgofian
Fri, 18 Oct 1991 21:05
trn message counts wrong
Author: Karl Mosgofian
Date: Fri, 18 Oct 1991 21:05
Date: Fri, 18 Oct 1991 21:05
7 lines
868 bytes
868 bytes
Hoping that this is not a stupid question... I am using trn. It keeps telling me that there are more or less messages than there really are. I.e., I get "3 unread messages in news.software.readers" but when I actually read the group, there is only 1. Not earth shattering, but really annoying. Thanks for any help. -karl
Re: trn message counts wrong
Author: Wayne Davison
Date: Mon, 21 Oct 1991 03:13
Date: Mon, 21 Oct 1991 03:13
20 lines
1790 bytes
1790 bytes
Karl Mosgofian (karl@cae780.csi.com) writes: > trn [...] keeps > telling me that there are more or less messages than there really are. > I.e., I get "3 unread messages in news.software.readers" but when I > actually read the group, there is only 1. Just like in rn, the initial value you see at the newsgroup prompt is only an approximation based on the high (and possibly low) article number in the active file and the associated line in your .newsrc. If any articles are missing or have duplicate message ids, trn will notice them and omit them from the count when you enter the group (this is when the data file is read in and processed). While this could be fixed by reading the data file for each group while you are just browsing along at the newsgroup selection stage, it would be much less efficient that way. This is especially true in trn 2.0 (not released yet) where the data file may not already exist, but is created when you read the group. -- \ /| / /|\/ /| /(_) Wayne Davison (_)/ |/ /\|/ / |/ \ davison@borland.com (W A Y N e)
Re: trn message counts wrong
Author: Rich Braun
Date: Wed, 23 Oct 1991 18:08
Date: Wed, 23 Oct 1991 18:08
28 lines
2142 bytes
2142 bytes
davison@borland.com (Wayne Davison) writes: >Just like in rn, the initial value you see at the newsgroup prompt is only >an approximation ...This is especially true in >trn 2.0 (not released yet) where the data file may not already exist My version of trn is v1.0.2, dated 16-Jan-91. Is this the latest? I've noticed a (fairly serious) bug in mine which is related to the above. Apparently mthreads is not automatically cleaning out items from the adjunct database when they're expired. (I'd like to know a more air-tight way of keeping it current, say via a cron job to run immediately after the expire job; if I run mthreads as a daemon I can't also run it as a cron job--this all strikes me as a kludge. One of the command-line options allegedly will cause the mthreads daemon to scan for expired postings, but it seems not to work.) So when I visit a newsgroup for the first time in a week or two, obviously the count of unread articles is wrong. But more significantly, it'll frequently print out the message "Skipping unavailable article..." and then dump ALL unread messages into the bit bucket, prompting me for the next newsgroup. It _usually_ dumps all postings after printing this message, but not always. I'm hoping I can correct this problem now rather than wait for a new release. And I hope the new release is better integrated with C-news (I have doubts after some difficult e-mail exchanges with one of the C-news developers). -rich
Re: trn message counts wrong
Author: Brent Chivers
Date: Thu, 24 Oct 1991 22:16
Date: Thu, 24 Oct 1991 22:16
43 lines
2971 bytes
2971 bytes
> > davison@borland.com (Wayne Davison) writes: > > ...This is especially true in trn 2.0 (not released > > yet) where the data file may not already exist In article <1991Oct23.180847.6388@kronos.com> richb@kronos.com (Rich Braun) writes: > My version of trn is v1.0.2, dated 16-Jan-91. Is this the latest? It looks like I picked up trn 1.0.2 from ftp.cs.montana.edu and applied some patches a co-worker spotted on the net (alt.sources?) The version command in my trn still claims this is 1.0.2, but for some reason I had strong reason to believe that the result, after applying the patch(es?) should be called version 1.2. > Apparently mthreads is not automatically cleaning out > items from the adjunct database when they're expired. I don't remember noticing this problem. We're actually running remote trn -- I'm outside DC, and my News host is in Mass. The News server is not running trn, so my threads database is local. Version 1.0.1 mthreads was rather fragile. When we had network connectivity problems, the daemon often died and left newsgroups corrupted in the database when restarted. I came up with clever ways of finding most of these by file timestamps, and had scripts just delete the bad ones before restarting the daemon. Our problem was FIXED when we upgraded trn -- far better than using hack scripts. Our log file shows the threads daemon doing an expire pass daily, and nothing is happening while reading postings to make me think otherwise. > But more significantly, it'll frequently print out the message > "Skipping unavailable article..." and then dump ALL unread messages > into the bit bucket, prompting me for the next newsgroup. I don't think this is quite what I was seeing. But trn was marking postings read that it hadn't shown me. (There was a posting a while back that described the problem I was experiencing quite accurately, and diagnosed its cause.) This problem was FIXED when we upgraded. -- ______________________________________________________________________ Brent Chivers McLean, VA bchivers@mitre.org
Re: trn message counts wrong
Author: Wayne Davison
Date: Fri, 25 Oct 1991 20:32
Date: Fri, 25 Oct 1991 20:32
36 lines
2254 bytes
2254 bytes
Rich Braun (richb@kronos.com) wrote: > My version of trn is v1.0.2, dated 16-Jan-91. Is this the latest? The latest released version is v1.0.3 that came out in July. You can grab the small patch to convert 1.0.2 into it from uunet in the news directory. > Apparently mthreads is not automatically cleaning out items from the > adjunct database when they're expired. The only way I can think of that this would happen is if you're running C News and you never use updatemin (or upact) to update the min field in the active file AND you never run mthreads with the enhanced-expire option. It's not actually necessary to keep the min field up to date (though it makes life easier) if you start mthreads like this: mthreads -adve0630 This starts the daemon mode of mthreads and tells it to do an enhanced expire pass at 6:30 in the morning. If you run it in single-pass mode, just use -e without specifying the time. One reason you might have believed that the -e option wasn't working is if you ran mthreads with both -d and -e and expected it to do the expire immediately -- it defaults to an expire pass at 12:30am. To get it to do an immediate expire, use mthreads with -e but without the daemon option. > I hope the new release is better integrated > with C-news (I have doubts after some difficult e-mail exchanges with > one of the C-news developers). In what way? Why don't you send me some mail about it? -- \ /| / /|\/ /| /(_) Wayne Davison (_)/ |/ /\|/ / |/ \ davison@borland.com (W A Y N e)
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