🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by pui ming Wong Tue, 27 Apr 2004 01:57
resetting history file w/o affecting other control files
#69066
Author: pui ming Wong
Date: Tue, 27 Apr 2004 01:57
11 lines
1344 bytes
When I installed inn 2.0 years ago, I forgot to compile
with the largefile enabled option so that now when my
history file gets > 2GB, the system couldn't accept
any new newsfeeds.

Now is there a way of resetting the history file to
start from zero (i would do this when the history
file gets near to its size limit) , but not affecting
other related control files like active .. etc

 
Re: resetting history file w/o affecting other control files
#69071
Author: Jeffrey M. Vinocur
Date: Tue, 27 Apr 2004 14:57
23 lines
1916 bytes
In article <c6ken6$n0c$1@net-sp1.hkbu.edu.hk>,
pui ming Wong <s11976@net2.hkbu.edu.hk> wrote:
>When I installed inn 2.0 years ago, I forgot to compile
>with the largefile enabled option so that now when my
>history file gets > 2GB, the system couldn't accept
>any new newsfeeds.
>
>Now is there a way of resetting the history file to
>start from zero (i would do this when the history
>file gets near to its size limit) , but not affecting
>other related control files like active .. etc

If you just want to zero the history file (that will make all of
your current articles inaccessible), just delete it and make a
new one according to the directions in the INSTALL document.

You can also use the makehistory tool to rebuild your history
from the article spool.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: resetting history file w/o affecting other control files
#69080
Author: pui ming Wong
Date: Wed, 28 Apr 2004 03:02
12 lines
1640 bytes
Jeffrey M. Vinocur (jeff@litech.org) wrote:
: If you just want to zero the history file (that will make all of
: your current articles inaccessible), just delete it and make a
: new one according to the directions in the INSTALL document.
But i don't want my old articles be inaccessible !
>
: You can also use the makehistory tool to rebuild your history
: from the article spool.
Any method to decrease the size of the history file (or better
still, zero it) while making ALL old articles accessible. 
(Or if this is not possible, how about making articles
of a few selected newsgroups accessible)
Re: resetting history file w/o affecting other control files
#69081
Author: Jeffrey M. Vinocur
Date: Wed, 28 Apr 2004 09:57
39 lines
2418 bytes
In article <c6n6rm$h5i$1@net-sp1.hkbu.edu.hk>,
pui ming Wong <s11976@net2.hkbu.edu.hk> wrote:
>
>But i don't want my old articles be inaccessible !

Well, assuming your old history entries are expiring correctly,
you have a problem.  INN must have a history line for every
article you want to access, otherwise it doesn't know where to
find the articles.


>Any method to decrease the size of the history file (or better
>still, zero it) while making ALL old articles accessible. 

No, certainly not.  See above.


>(Or if this is not possible, how about making articles
>of a few selected newsgroups accessible)

For this, simply configure expire.ctl to expire the articles in
the groups you don't want, and then wait for the next run of
news.daily from cron.

If you're using CNFS, you need to add flags="-N" to your crontab
entry for news.daily, so that expire knows to expire history
entries for CNFS even if the articles are still around.

For future reference, you probably should reconfigure
storage.conf to put articles that are important separately from
articles you don't care about.  Then you can adjust things to
keep your history small without losing any of your important
groups.



-- 
Jeffrey M. Vinocur
jeff@litech.org
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