🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by SLRN User Thu, 12 May 2011 04:40
[SLRN] Long Start up times. Seems to be checking all articles in groups?
#245544
Author: SLRN User
Date: Thu, 12 May 2011 04:40
12 lines
1396 bytes
When I start up slrn it has a long hang time of about 
1 minute after authentication with news server. I have
made sure that 
set check_new_groups 0
in .slrnrc is set. Is there another setting to prevent 
SLRN from checking all articles in all groups? I am 
only subscribed to 4 text newsgroups with slrn.


TIA.

Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245545
Author: notbob
Date: Thu, 12 May 2011 05:29
16 lines
1750 bytes
On 2011-05-12, SLRN User <spam2@invalid.invalid> wrote:

> in .slrnrc is set. Is there another setting to prevent 
> SLRN from checking all articles in all groups? I am 
> only subscribed to 4 text newsgroups with slrn.

The problem may be something else.  

Do you have a score file?  It's typically ~/News/Score.  A large
unorganized Score file will really slow down the startup of slrn.  If
you have a Score file and typically use the k key to KF someone, the
defaults put a whole buncha unecessary lines in your Score file and
these add up quickly to really bog down the processing of your Score
file and the starting of slrn.

nb
Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245546
Author: Troy Piggins
Date: Thu, 12 May 2011 06:29
35 lines
2504 bytes
* notbob wrote :
> On 2011-05-12, SLRN User <spam2@invalid.invalid> wrote:
>
>> in .slrnrc is set. Is there another setting to prevent 
>> SLRN from checking all articles in all groups? I am 
>> only subscribed to 4 text newsgroups with slrn.
>
> The problem may be something else.  
>
> Do you have a score file?  It's typically ~/News/Score.  A large
> unorganized Score file will really slow down the startup of slrn.  If
> you have a Score file and typically use the k key to KF someone, the
> defaults put a whole buncha unecessary lines in your Score file and
> these add up quickly to really bog down the processing of your Score
> file and the starting of slrn.

Yes, I'd try looking at your scorefile first.  Maybe turn it off
and see if things speed up.  If you _only_ score on these
headers:

Subject
From
Date
Message-ID
References
Bytes
Lines
Xref

your scoring will be very fast.  If you score on headers other
than those above, this is termed "expensive scoring" and will
slow things down a lot.

-- 
Troy Piggins
Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245547
Author: SLRN User
Date: Thu, 12 May 2011 06:35
20 lines
1974 bytes
SLRN User wrote in news:<iqfob401l86@news5.newsguy.com>:
> When I start up slrn it has a long hang time of about 
> 1 minute after authentication with news server. I have
> made sure that 
> set check_new_groups 0
> in .slrnrc is set. Is there another setting to prevent 
> SLRN from checking all articles in all groups? I am 
> only subscribed to 4 text newsgroups with slrn.
>
>
> TIA.
>
>

 Hmm, it has something to do with the newsguy.com news server. 
I omitted the score file, all macros & shortened the newsgroup 
file to five newsgroups with the same results. When I switched
to eternal-september.org with macros & kill file SLRN quickly 
started with no hang after authentication. 
 
Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245616
Author: Ignatios Souvatzis
Date: Wed, 18 May 2011 07:32
8 lines
1464 bytes
Troy Piggins wrote: 

> Yes, I'd try looking at your scorefile first.  Maybe turn it off
> and see if things speed up. 

And maybe run cleanscore occasionally.

	-is
Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245620
Author: Troy Piggins
Date: Wed, 18 May 2011 09:26
17 lines
1964 bytes
* Ignatios Souvatzis wrote :
> Troy Piggins wrote: 
>
>> Yes, I'd try looking at your scorefile first.  Maybe turn it off
>> and see if things speed up. 
>
> And maybe run cleanscore occasionally.

I didn't mean because of a full scorefile, but rather for
"expensive" scoring entries.  But I agree, I run cleanscore as a
cron job daily.

You do realise the OP posted days ago, shortly after his first
post, that it's "problem solved"?

-- 
Troy Piggins
Re: [SLRN] Long Start up times. Seems to be checking all articles in groups?
#245618
Author: notbob
Date: Wed, 18 May 2011 12:51
23 lines
1765 bytes
On 2011-05-18, Ignatios Souvatzis <u502sou@beverly.kleinbus.org> wrote:

> And maybe run cleanscore occasionally.

....or jes run sed with a regex expression to delete all commented (%)
lines.  

sed '/^\%/d' myFile > score.tmp
mv score.tmp score

It's those damn commented lines that really slow it down.  If you
consistently use the k key to KF ppl, slrn generates dozens of useless
commented lines.  Also, consolitdate all the condition rules to a
single newsgroup heading, instead of having multiple groupings for
every KF rule.  IOW, learn to use yer score file properly and edit out
all the crap.



nb

-- 
vi ...the root of evil
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