🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #228026

Re: [Xnews] LUU PLEASE READ - Rescore on add to score takes forever

#228026
From: hummingbird
Date: Sun, 14 Dec 2008 11:30
122 lines
5708 bytes
On Sat 13 Dec08 06:47, Ohmster <root@dev.nul.invalid> wrote
> "Chris Millbank (Hummingbird)" <chris.millbank@BNP.com> wrote
> in news:Xns9B725130374E471E5D@204.153.245.22:
> 
>> On Fri 12 Dec08 06:01, Ohmster <root@dev.nul.invalid> wrote
>>>
>>> [lots snipped]
>>>
>>> I will exit newsgroup, then Open Special and download all
>>> headers to get them all in the window, then add something to
>>> score file to plonk it and time how long it takes.
>>>
>> 
>> You make some interesting points.  Can I zoom in on that one.
>> 
>> Are you downloading all the headers just so you can see them
>> listed in the articles window?
> 
> Yes.
> 
>> You say you are storing headers so they should not need
>> downloading again. Perhaps there is a filter in xnews.ini or
>> groups.ini which hides those articles.  Check for
>> "OnLoaded=". 
> 
> I don't see anything like that.


To eliminate the more obvious things you have probably done 
already .... 

If you are storing headers then you will have the "Store 
headers" entry checked in Setup -> Storage.

I assume you are using "Purge When Expired On Server" in Group 
-> Storage Options or you have some suitable value in the 
"days" setting.

In case there is any strange MBX/TOC corruption, have you kept 
up to date with the housekeeping by using Catchup on group exit 
from time to time and also made use of "Compact Article File" 
(in Storage Options).

Internet downloads are notorious for creating fragmented files 
so make sure your defragging is reasonably up to date.

----------

If all that sort of housekeeping is done then maybe your article 
numbering is messed up.  Could be either file corruption or new 
Giganews numbering which John Wunderlich describes in this 
thread.  

Rarely, I have seen Xnews repeatedly fail to load articles 
beyond a certain (old) point even if I try different download 
servers.  It's as if a date limit is being set somewhere.  A 
reboot cures it but I've never found what the trigger was.

You should not have to download headers again which you have 
downloaded before .

>  
>> You also mention how you are using "Add to score file" to
>> mark all messages by a particular poster.  "Add to score
>> file" creates an entry in score.ini and as thatentry is
>> auto-generated from the "Add to score file" dialog ten it may
>> have have a more complicated logic than necessary.
>> 
>> It may be faster to open score.ini and add another entry to
>> it: 
>> 
>> [.]
>> score:: =-9999
>> from: bear bottoms
>> from: me\.here
>> from: aracari
> 
> Yes, I do it that way a lot. I just wish that the darned plonk
> file actually DID plonk people. Martin says his plong file
> works, does yours? 
> 

ISTR using Xnews's killfile is a bit messy in that either you 
had to type the name in or you had to have both name and email 
address present or something like that.  

Also some scoring in Xnews seems to be done only when an article 
arrives in a group and isn't done again when rescoring.  ISTR 
one example is articles which are crossposted beyond the number 
of groups defined in Setup and which then get scored -9999.

The gurus here will be able explain this better.


>> If you are working thru a newsgroup adding such score entries
>> to identify and score several posters then it may be less
>> demanding on your system to use the Misc tab in the Setup
>> window (CTRL F1) to ask before reloading the score file.
> 
> I do have it set that way and like to see it actually score
> the window, it just takes so long that if you do it, might as
> well go and get a Hot Pocket, unwrap it, put it in the
> microwave, heat it up, take it out and put it on a paper
> towel, bring it back to the computer with a drink, and a wong
> wast, we can continue what we were doing once again. 
> 

I have come across the slowness you're referring to.  Have you 
tried a test by renaming score.ini and seeing how long it takes 
to load the group's articles when there is no scoring going on 
(apart from Kept and Killed articles)?

If the duration for that is reasonable then it points to an 
over-complex score.ini.  Need to check for unnecessarily complex 
logic, "greedy" logical operators, and scoring for one group 
being applied to all groups.

Xnews's score file supports AND-OR-NOT (although expressed in 
its own sweet way).  As usual you can restate most logical 
expressions using De Morgan's laws. This may or may not (take 
care) significantly reduce the processing required depending 
what you're scoring on.
Technical Details
Message-ID: <Xns9B74750CBFE7071E5D@204.153.245.22>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news2!news-out.octanews.net!indigo.octanews.net!auth.brown.octanews.com.POSTED!not-for-mail
References: <Xns9B71F2F5A6E3DMyBigKitty@216.196.97.131> <9B71EE3F6C1FEEAC2E284CEEC009E394A9D7@127.0.0.1> <Xns9B72A6CC7E1EMyBigKitty@216.196.97.131> <Xns9B725130374E471E5D@204.153.245.22> <Xns9B73123CA9E21MyBigKitty@216.196.97.131>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9B74750CBFE7071E5D@204.153.245.22>
Subject: Re: [Xnews] LUU PLEASE READ - Rescore on add to score takes forever
Date: Sun, 14 Dec 2008 11:30:23 GMT
From: hummingbird <hummingbird@BNP.com>
References: <Xns9B71F2F5A6E3DMyBigKitty@216.196.97.131> <9B71EE3F6C1FEEAC2E284CEEC009E394A9D7@127.0.0.1> <Xns9B72A6CC7E1EMyBigKitty@216.196.97.131> <Xns9B725130374E471E5D@204.153.245.22> <Xns9B73123CA9E21MyBigKitty@216.196.97.131>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news2!news-out.octanews.net!indigo.octanews.net!auth.brown.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: note; Hummingbird in A.C.F. is a different poster.
User-Agent: Xnews/2006.08.24
Lines: 122
NNTP-Posting-Date: 14 Dec 2008 05:30:39 CST
X-Complaints-To: abuse@octanews.net