Thread View: news.software.readers
3 messages
3 total messages
Started by Bill Heiser
Sat, 31 Aug 1991 18:13
"too many lines in .newsrc" (RN)
Author: Bill Heiser
Date: Sat, 31 Aug 1991 18:13
Date: Sat, 31 Aug 1991 18:13
15 lines
1286 bytes
1286 bytes
I'm running rn that was current as of about a year ago (any recent patches?).
Recently the newsgroup count on my system exceeded 1500, and users with all
of them in their .newsrc started seeing "too many lines in .newsrc" and
rn aborting on start-up. Also, some users see very very long delays in
starting to read news.
Is there something I can fix in rn to cure this problem, or do I just need
to keep editing .newsrc files to make them shorter?
Bill
--
bill@unixland.natick.ma.us ...!uunet!{think,world}!unixland!bill
Dial: 508-655-3848(2400) 508-651-8723(96-HST) 508-651-8733(PEP-V32)
Shell Accounts for USENET (1,508 groups) and E-mail are Still Available!
Re: "too many lines in .newsrc" (RN)
Author: Stan Barber
Date: Mon, 02 Sep 1991 22:43
Date: Mon, 02 Sep 1991 22:43
16 lines
1388 bytes
1388 bytes
In article <1991Aug31.181334.11313@unixland.natick.ma.us> bill@unixland.natick.ma.us (Bill Heiser) writes: >Is there something I can fix in rn to cure this problem, or do I just need >to keep editing .newsrc files to make them shorter? The best fix will be rn 4.4 which will have no limits (except memory) for the number of lines in .newsrc. rn 4.4 is REALLY REALLY close to release now. Look here for the release announcement. -- Stan internet: sob@bcm.tmc.edu Director, Networking Olan uucp: rutgers!bcm!sob and Systems Support Barber Opinions expressed are only mine. Baylor College of Medicine
Re: "too many lines in .newsrc" (RN)
Author: mark_silbernagel
Date: Wed, 04 Sep 1991 02:50
Date: Wed, 04 Sep 1991 02:50
34 lines
2143 bytes
2143 bytes
In article <1991Aug31.181334.11313@unixland.natick.ma.us>
bill@unixland.natick.ma.us (Bill Heiser) writes:
>I'm running rn that was current as of about a year ago (any recent patches?).
>Recently the newsgroup count on my system exceeded 1500, and users with all
>of them in their .newsrc started seeing "too many lines in .newsrc" and
>rn aborting on start-up. Also, some users see very very long delays in
>starting to read news...
We had the 'too many lines' error at first as well.
Running RN with patchlevel 54...
.. the condition is caught by this line in rcstuff.c...
rcstuff.c: if (newng >= MAXRCLINE) { /* check for overflow */
and MAXRCLINE is defined in common.h thusly...
common.h:#define MAXRCLINE 2501 /* number of lines allowed in .newsrc */
common.h:#define HASHSIZ 2609 /* should be prime, and at least MAXRCLINE +
10%
Notice, HASHSIZ is impacted. I used the 'prime' function to generate HASHSIZ
based upon MAXRCLINE plus a minimum comfort level of 10% (or greater, I don't
recall now)
Nothing further was required. In my case, the 2501 seemed unlikely to be hit
anytime soon; watching news.groups... who knows?
Mark Silbernagel |
Mentor Graphics Corporation | ...Food from the "Palace
8005 S.W. Boeckman Road | of pure thought" ;')
Wilsonville, OR 97070-7777 |
(503) 685-4738 | mark_silbernagel@mentorg.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