🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by christian mock Sun, 06 May 2001 20:15
editing active with ovdb?
#52209
Author: christian mock
Date: Sun, 06 May 2001 20:15
21 lines
1575 bytes
Hi,

this is about INN 2.3.0 with ovdb and CNFS.

I just did a ctlinnd pause/edit active/ctlinnd reload active/ctlinnd
go cycle to make a fast mass rmgroup, only to find out afterwards that
nnrpd still sees the deleted groups when I give it a group command;
they're not listed anymore with "list active".

So this means the groups still live on in the group* files in the
overview directory -- how do I get rid of them?

regards,

cm.
-- 
Hat irgendwer schlechte Schwingungen in seiner globalen
Eierkuchen-Aura bekommen weil man ihm gesagt hat er soll bitte nicht
andauernd mit Vollquotes in 10 Gruppen gleichzeitig crossposten?
 Albert Koellner in at.usenet
Re: editing active with ovdb?
#52210
Author: Russ Allbery
Date: Mon, 07 May 2001 07:14
28 lines
2108 bytes
christian mock <cm@tahina.priv.at> writes:

> this is about INN 2.3.0 with ovdb and CNFS.

> I just did a ctlinnd pause/edit active/ctlinnd reload active/ctlinnd go
> cycle to make a fast mass rmgroup, only to find out afterwards that
> nnrpd still sees the deleted groups when I give it a group command;
> they're not listed anymore with "list active".

> So this means the groups still live on in the group* files in the
> overview directory -- how do I get rid of them?

The quick and dirty way:  Throttle the server, add the groups back into
the active file, reload active, use ctlinnd rmgroup to delete them (with
the server still paused), reload active again, and then unthrottle the
server again.

You probably don't want to edit the active file directly under any
circumstances when running INN 2.3.0 and higher, since overview then
doesn't always get cleaned up properly.  Instead, throttle and then use a
bunch of ctlinnd rmgroup commands; it's nearly as fast and a lot safer.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: editing active with ovdb?
#52224
Author: christian mock
Date: Mon, 07 May 2001 18:05
31 lines
2023 bytes
In article <yly9s9aaw3.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

> > So this means the groups still live on in the group* files in the
> > overview directory -- how do I get rid of them?
> 
> The quick and dirty way:  Throttle the server, add the groups back into
> the active file, reload active, use ctlinnd rmgroup to delete them (with
> the server still paused), reload active again, and then unthrottle the
> server again.

thanks, this worked.

BTW: the ctlinnd(8) manpage still says 

       If a large number of groups are going  to  be  created  or
       deleted  at once, it may be more efficient to ``pause'' or
       ``throttle''  the  server  and  edit  the  active(5)  file
       directly.

in 2.3.2...

ciao,

cm.
-- 
** christian mock in vienna, austria -- http://www.tahina.priv.at/~cm/
Rechtlich gesehen, besteht kein Anspruch auf Weiterleitung von
Artikeln, die Bilder von F�hrerscheinumschl�gen enthalten.
 ghw in at.usenet
Re: editing active with ovdb?
#52225
Author: Russ Allbery
Date: Mon, 07 May 2001 18:41
19 lines
1531 bytes
christian mock <cm@tahina.priv.at> writes:

> BTW: the ctlinnd(8) manpage still says 

>        If a large number of groups are going  to  be  created  or
>        deleted  at once, it may be more efficient to ``pause'' or
>        ``throttle''  the  server  and  edit  the  active(5)  file
>        directly.

> in 2.3.2...

Thanks, will fix.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: editing active with ovdb?
#52228
Author: Marco d'Itri
Date: Mon, 07 May 2001 20:34
11 lines
1371 bytes
rra@stanford.edu wrote:

>You probably don't want to edit the active file directly under any
>circumstances when running INN 2.3.0 and higher, since overview then
Then it's time to kill ~news/bin/mod-active.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *

Re: editing active with ovdb?
#52229
Author: Katsuhiro Kondou
Date: Mon, 07 May 2001 22:59
13 lines
1543 bytes
In article <yly9s9aaw3.fsf@windlord.stanford.edu>,
	Russ Allbery <rra@stanford.edu> wrote;

} circumstances when running INN 2.3.0 and higher, since overview then
} doesn't always get cleaned up properly.

As to buffindexed, those get cleaned by OVexpire()
with null newsgroup name.  Expireover passes it when
reaches end of active.  ovdb looks the same.
tradindexed doesn't care.
-- 
Katsuhiro Kondou
Re: editing active with ovdb?
#52468
Author: bill davidsen
Date: Wed, 23 May 2001 17:39
21 lines
2158 bytes
In article <yly9s9aaw3.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| You probably don't want to edit the active file directly under any
| circumstances when running INN 2.3.0 and higher, since overview then
| doesn't always get cleaned up properly.  Instead, throttle and then use a
| bunch of ctlinnd rmgroup commands; it's nearly as fast and a lot safer.

  Well, since the man page says just to opposite, I'll ask if this is
true for adding groups as well. I have a perl script which generates
either ctlinnd scripts (run any time) or does the pause/edit/reload/go
dance on the fly. I'd be delighted to just add the pause at the top and
have it not slow the server to a crawl.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
At LinuxExpo Sun was showing Linux applications running on Solaris.
They don't get it, the arrow points the other way. There's a reason why
there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
religion, a way of life, and only incidentally an operating system.
Re: editing active with ovdb?
#52473
Author: those who know me have no need o...
Date: Wed, 23 May 2001 19:17
20 lines
1535 bytes
<9egskp$2ud8$1@newssvr05-en0.news.prodigy.com> divulged:

>the man page says just to opposite, 

dated page.

>I'll ask if this is true for adding groups as well. I have a perl
>script which generates either ctlinnd scripts (run any time) or does
>the pause/edit/reload/go dance on the fly. I'd be delighted to just
>add the pause at the top and have it not slow the server to a crawl.

when you have more than one or two groups to add/remove/change you
should consider pausing first.

on 2.3.0 and later you should avoid the edit then reload method
entirely.

-- 
okay, have a sig then
Re: editing active with ovdb?
#52482
Author: bill davidsen
Date: Wed, 23 May 2001 22:13
40 lines
2781 bytes
In article <9eh2bl02v7j@enews2.newsguy.com>,
those who know me have no need of my name  <not-a-real-address@usa.net> wrote:
| <9egskp$2ud8$1@newssvr05-en0.news.prodigy.com> divulged:
| 
| >the man page says just to opposite, 
| 
| dated page.

Yes, dated less than a month ago, from the ctlinnd man page of
20010430-CURRENT or so...
================================================================
.PP
If a large number of groups are going to be created or deleted at once,
it may be more efficient to ``pause'' or ``throttle'' the server
and edit the
.IR active (5)
file directly.
================================================================

| >I'll ask if this is true for adding groups as well. I have a perl
| >script which generates either ctlinnd scripts (run any time) or does
| >the pause/edit/reload/go dance on the fly. I'd be delighted to just
| >add the pause at the top and have it not slow the server to a crawl.
| 
| when you have more than one or two groups to add/remove/change you
| should consider pausing first.
| 
| on 2.3.0 and later you should avoid the edit then reload method
| entirely.

  Actually I've been using it, but I'd much rather do it with ctlinnd. I
haven't had a problem, but that doesn't mean I couldn't, if there's some
slice of time where things could work badly. Since pause is easier
that's the ticket.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office
Re: editing active with ovdb?
#52486
Author: those who know me have no need o...
Date: Wed, 23 May 2001 23:03
22 lines
1805 bytes
<9ehcmt$6o2o$1@newssvr05-en0.news.prodigy.com> divulged:

>In article <9eh2bl02v7j@enews2.newsguy.com>,
>those who know me have no need of my name  <not-a-real-address@usa.net> wrote:
>| <9egskp$2ud8$1@newssvr05-en0.news.prodigy.com> divulged:
>| 
>| >the man page says just to opposite, 
>| 
>| dated page.
>
>Yes, dated less than a month ago, from the ctlinnd man page of
>20010430-CURRENT or so...

poor wording on my part.  that paragraph is no longer as universally
correct, as it would seem to indicate, and should have been removed or
clarified.  editing the active file can get you into trouble with the
overview database (see russ' response too), so you really should use
ctlinnd in all cases, and pause if you have more than 1 or 2 to do.

-- 
okay, have a sig then
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