Thread View: news.software.nntp
5 messages
5 total messages
Started by Vern Soehner
Thu, 09 May 1996 00:00
INN Active File Cleaning.
Author: Vern Soehner
Date: Thu, 09 May 1996 00:00
Date: Thu, 09 May 1996 00:00
23 lines
1349 bytes
1349 bytes
Hi. I have fallen behind in rmgroup'ng my active file. According to the FAQ.......I looks like I can do the following and delete the unwanted groups from my active file. If I do this, what happens to the associated directories? Will they get removed by expire in news.daily or do I remove them manualy myself? Thanks very much.! >The following sequence is the shortest: > ctlinnd pause "edit active" > [do something to the active file] > inncheck > ctlinnd reload active "edit active" > ctlinnd go "edit active" >Simple! No need to "flush" since the "pause" does that. >> What if I need to delete 3000 lines from my active file? >I would definitely edit the active file manually (using >the above procedure). "Relax, its only ONES and ZEROS!" anonymous Vern Soehner vsoehner@nectech.com
Re: INN Active File Cleaning.
Author: Clayton O'Neill
Date: Thu, 09 May 1996 00:00
Date: Thu, 09 May 1996 00:00
31 lines
1980 bytes
1980 bytes
On Thu, 09 May 96 17:51:57 GMT, Vern Soehner <vsoehner@nectech.com> wrote:
> Hi. I have fallen behind in rmgroup'ng my
>active file. According to the FAQ.......I looks like I can do the
>following and delete the unwanted groups from my active file.
>If I do this, what happens to the associated directories? Will they
>get removed by expire in news.daily or do I remove them manualy myself?
>Thanks very much.!
They will automatically be removed by expire as they become old enough.
If you have the disk space to spare, this is the easiest way to handle it.
You will see lines like this:
Group not matched (removed?) uk.forsale -- Using default expiration
Group not matched (removed?) rec.aquaria -- Using default expiration
Group not matched (removed?) uk.politics -- Using default expiration
Group not matched (removed?) at.jobs -- Using default expiration
For as many days as your default expiration is.
Another alternative would be to just get the active file from your upstream
feed and replace yours with it or run it through docheckgroups.
--
-------------------------------------------------------------------------
Clayton O'Neill Business--> Premier One Inc
whatever@oneill.net clayton@premier.net
http://www.oneill.net <--Personal http://www.premier.net
Re: INN Active File Cleaning.
Author: Peter Peters
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
32 lines
1996 bytes
1996 bytes
In article <slrn4p4rm4.7g.coneill@premier1.premier.net>
coneill@premier1.premier.net (Clayton O'Neill) writes:
>They will automatically be removed by expire as they become old enough.
>If you have the disk space to spare, this is the easiest way to handle it.
>You will see lines like this:
> Group not matched (removed?) uk.forsale -- Using default expiration
> Group not matched (removed?) rec.aquaria -- Using default expiration
> Group not matched (removed?) uk.politics -- Using default expiration
> Group not matched (removed?) at.jobs -- Using default expiration
>
>For as many days as your default expiration is.
You can change that to 1 day with the following entries in your expire.ctl:
*:A:0:0:0
*:U:0:1:1
*:M:0:1:1
Default unmoderated groups and moderated groups are expired after one day and
all others are expired immediatly. "All others" are groups INN doesn't know
whether they are moderated or unmoderated and are groups not in the active
file.
Peter
--
_ __ _ __ | Universiteit Twente
' ) ) _/_ ' ) ) _/_ | CIV - TSO (TWRC D108)
/--' _ / _ __ /--' _ / _ __ _ | voice (053) 489 23 01
/ </_<__</_/ (_ / </_<__</_/ (_/_)_ | fax (053) 489 23 83
http://www.nic.utwente.nl/peter/index.html
Re: INN Active File Cleaning.
Author: Mark Turner
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
20 lines
1279 bytes
1279 bytes
In article <slrn4p4rm4.7g.coneill@premier1.premier.net>, Clayton O'Neill <coneill@premier1.premier.net> wrote: > > Another alternative would be to just get the active file from your upstream > feed and replace yours with it or run it through docheckgroups. DO NOT simply replace your own active file with anyone elses unless you also delete your newsbase at the same time. INN uses the active file to record the highest numbered article in each group so far. If you set the number back to one that has already been used then innd will fall over when it tries to create or link to a file that already exists but according to the active file shouldn't exist yet. Cheers, Mark.
Re: INN Active File Cleaning.
Author: Per Hedeland
Date: Sun, 12 May 1996 00:00
Date: Sun, 12 May 1996 00:00
46 lines
2181 bytes
2181 bytes
In article <slrn4p4rm4.7g.coneill@premier1.premier.net> coneill@premier1.premier.net (Clayton O'Neill) writes: >On Thu, 09 May 96 17:51:57 GMT, Vern Soehner <vsoehner@nectech.com> wrote: >> Hi. I have fallen behind in rmgroup'ng my >>active file. According to the FAQ.......I looks like I can do the >>following and delete the unwanted groups from my active file. >>If I do this, what happens to the associated directories? Will they >>get removed by expire in news.daily or do I remove them manualy myself? >>Thanks very much.! > >They will automatically be removed by expire as they become old enough. No, the *directories* will not be removed, only the articles. Of course there's not much point in having the articles stay around until normal expiration, since they can't easily be read when their groups aren't in active anymore, so I normally remove both articles and (where appropriate) directories at the same time as removing the groups from active. You can't just rm -r the directory though, as there are often subgroups that should remain - here's a simplified snippet from a script I use: cd $SPOOLDIR for g in $groups do dir=`echo $g | tr . /` ctlinnd rmgroup $g spdir=$dir rm -f $spdir/* while rmdir $spdir do echo removed $spdir spdir=`echo $spdir | sed 's;/[^/]*$;;'` done rm -f over.view/$dir/.overview while rmdir over.view/$dir do echo removed over.view/$dir dir=`echo $dir | sed 's;/[^/]*$;;'` done done --Per Hedeland per@erix.ericsson.se
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