🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Michael Grimm Fri, 13 Aug 2010 16:53
INN 2.6.0 (20100812 snapshot) -- observations and questions
#83369
Author: Michael Grimm
Date: Fri, 13 Aug 2010 16:53
75 lines
4671 bytes
Hi --

I did upgrade my feeders to INN 2.6.0 (20100812 snapshot) without any
issues, so far.  But I do want to provide some feedback and I do have
some questions.

I did use variables for upper size flags in newsfeeds like:
,----
| $limitHI=131072
| example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
`----

Now 'inncheck -pedantic' complains about ...
,----
| /usr/local/news/etc/newsfeeds:154: bad value `$limitHI' for flag `<'
`----
... I can't recall if that has been complained with 2.5.x as well.

I did check -by setting $limitHI to a very small size, and innfeed 
seems to recognize that variable. Can anyone verify this?


Next, with an uninitialized CNFS INN complains at initial start (found
in news.err and news.notice):
,----
| Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:20:proc:9726
| Aug 13 13:33:46 feeder innfeed[9726]: ME starting at Fri Aug 13 13:33:46 2010  (INN 2.6.0 (20100812 snapshot))
| Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff TR1, initializing
| Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
| Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
| Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
| Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed initialization
| Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed initialization
| Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
| Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, initializing
| Aug 13 13:33:46 feeder innd: SERVER starting
| Aug 13 13:33:46 feeder innd: innfeed-1! exit 1 elapsed 0 pid 9726
| Aug 13 13:33:46 feeder innd: innfeed-1!:20:proc:9726 closed
| Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:34:proc:9740
| Aug 13 13:33:46 feeder innd: innfeed-1! restarted
| Aug 13 13:33:46 feeder innfeed[9740]: ME starting at Fri Aug 13 13:33:46 2010  (INN 2.6.0 (20100812 snapshot))
| Aug 13 13:33:46 feeder innfeed[9740]: loading /usr/local/news/etc/INNFEED/innfeed-1.conf
`----
That's a behaviour I did observe in earlier versions as well. Just a
question here: is this 'Storage manager initialization failed' worth
being reported in news.err instead of news.notice? The first time I saw
this some time ago I believed INN having crashed during start-up.


Finally, I do have question regarding the new Aj flag in newsfeeds:
,----
| j    Propagate articles according to their Newsgroups: header. This is
| only useful when wanttrash is set to true in inn.conf. With that
| variable set, articles accepted and filed in junk (due to wanttrash) are
| fed to peers based on their subscription pattern applied to the
| Newsgroups: header as though they were accepted and all those groups
| were locally carried. Otherwise, they are propagated to sites that
| receive the junk newsgroup.  This variable is useful if you want to run
| INN with a minimal active file and propagate all posts.
`----
I am running my feeders with a minimal active (control*, junk) and have
wanttrash set to true.

In newsfeeds I do have settings like:
,----
| allwaysWITHHOLD=!control,!control.*,!junk,!local.*/!local
| example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
`----
That's running as expected. But I'm unsure whether I do need an Ajp or an
Aj, only? And: do I need '!junk' any longer? I don't think so, correct?

Regards,
Michael
-- 
to let
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83368
Author: Julien ÉLIE
Date: Fri, 13 Aug 2010 18:38
180 lines
7910 bytes
Hi Michael,

> I did upgrade my feeders to INN 2.6.0 (20100812 snapshot) without any
> issues, so far.

If you use pullnews, do not forget to move "~/.pullnews" to 
"<pathdb>/pullnews.marks"
as said in the upgrade section.

I think there will be a "<pathetc>/pullnews.conf" or something like that
in the final INN 2.6.0.  So one day, another move will have to be done.
Do not forget to read the upgrade section to see whether something needs
being done.



> But I do want to provide some feedback and I do have
> some questions.

Thanks a lot for your valuable feedback.



> I did use variables for upper size flags in newsfeeds like:
> ,----
> | $limitHI=131072
> | example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
> `----
>
> Now 'inncheck -pedantic' complains about ...
> ,----
> | /usr/local/news/etc/newsfeeds:154: bad value `$limitHI' for flag `<'
> `----
> ... I can't recall if that has been complained with 2.5.x as well.
>
> I did check -by setting $limitHI to a very small size, and innfeed
> seems to recognize that variable. Can anyone verify this?

Substitutions work well.
You can even use:

$SEPARATOR=:
example/example.com$SEPARATOR*,$alwaysWITHHOLD$SEPARATORAjp,Tm,<$limitHI$SEPARATORinnfeed

:)


Note that innd recognizes it (not innfeed).  innd substitutes the variable
and checks itself whether it should transfer the message to innfeed.



Suggested patch for inncheck:


--- inncheck.in (révision 9083)
+++ inncheck.in (copie de travail)
@@ -389,6 +389,7 @@
     local ($next, $start, $me_empty, @muxes, %sites);
     local ($site, $pats, $dists, $flags, $param, $type, $k, $v, $defsub);
     local ($bang, $nobang, $prog, $dir);
+    local (%variables, $key);

     input: while ( <IN> ) {
        $line++;
@@ -410,10 +411,16 @@
        print "$file:$line: ends with whitespace\n"
            if /\s+$/;

-        # Catch a variable setting.
-        if ( /^\$([A-Za-z0-9]+)=/ ) {
+        ##  Substitute variables.
+        for my $key (keys %variables) {
+            s/\$$key/$variables{$key}/;
+        }
+
+        ##  Catch a variable setting.
+        if ( /^\$([A-Za-z0-9]+)=(.*)$/ ) {
             print "$file:$line: variable name too long\n"
                 if length ($1) > 31;
+            $variables{$1} = $2;
             next input;
         }




> Next, with an uninitialized CNFS INN complains at initial start (found
> in news.err and news.notice):
> ,----
> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:20:proc:9726
> | Aug 13 13:33:46 feeder innfeed[9726]: ME starting at Fri Aug 13 13:33:46 2010 
> (INN 2.6.0 (20100812 snapshot))
> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff 
> TR1, initializing
> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush 
> whilst read only
> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush 
> whilst read only
> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed 
> initialization
> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed 
> initialization
> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, 
> initializing
> | Aug 13 13:33:46 feeder innd: SERVER starting
> | Aug 13 13:33:46 feeder innd: innfeed-1! exit 1 elapsed 0 pid 9726
> | Aug 13 13:33:46 feeder innd: innfeed-1!:20:proc:9726 closed
> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:34:proc:9740
> | Aug 13 13:33:46 feeder innd: innfeed-1! restarted
> | Aug 13 13:33:46 feeder innfeed[9740]: ME starting at Fri Aug 13 13:33:46 2010 
> (INN 2.6.0 (20100812 snapshot))
> | Aug 13 13:33:46 feeder innfeed[9740]: loading 
> /usr/local/news/etc/INNFEED/innfeed-1.conf
> `----
> That's a behaviour I did observe in earlier versions as well. Just a
> question here: is this 'Storage manager initialization failed' worth
> being reported in news.err instead of news.notice? The first time I saw
> this some time ago I believed INN having crashed during start-up.

It could be a real issue; innfeed exits just after.
Maybe it would be better to log:
  Storage manager initialization failed -- it is OK after a change in storage 
methods

???




> Finally, I do have question regarding the new Aj flag in newsfeeds:
> ,----
> | j    Propagate articles according to their Newsgroups: header. This is
> | only useful when wanttrash is set to true in inn.conf. With that
> | variable set, articles accepted and filed in junk (due to wanttrash) are
> | fed to peers based on their subscription pattern applied to the
> | Newsgroups: header as though they were accepted and all those groups
> | were locally carried. Otherwise, they are propagated to sites that
> | receive the junk newsgroup.  This variable is useful if you want to run
> | INN with a minimal active file and propagate all posts.
> `----
> I am running my feeders with a minimal active (control*, junk) and have
> wanttrash set to true.
>
> In newsfeeds I do have settings like:
> ,----
> | allwaysWITHHOLD=!control,!control.*,!junk,!local.*/!local
> | example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
> `----

"$alwaysWITHHOLD" and not "allwaysWITHHOLD" (two "l").  I just mention it
in case there is a problem in your file, but maybe it was not an extract
from them.



> That's running as expected. But I'm unsure whether I do need an Ajp or an
> Aj, only?

"Ap" is something different.  It would check "example.com" only, and not
both "example" and "example.com" in the Path: header field of the article,
in order to decide the propagation.


> And: do I need '!junk' any longer? I don't think so, correct?

I do not understand the question.
If you remove "!junk", then articles posted directly to the junk newsgroup
(that is to say with "Newsgroups: junk" in their headers) will be propagated.

-- 
Julien ÉLIE

« The hardest thing is to go to sleep at night, when there are
  so many urgent things needing to be done.  A huge gap
  exists between what we know is possible with today's machines
  and what we have so far been able to finish. »  (Donald Knuth) 
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83370
Author: Michael Grimm
Date: Fri, 13 Aug 2010 19:41
111 lines
5875 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> If you use pullnews, do not forget to move "~/.pullnews" to
> "<pathdb>/pullnews.marks" as said in the upgrade section.

No, my feeders are innfeed only.

>> | $limitHI=131072
>> | /usr/local/news/etc/newsfeeds:154: bad value `$limitHI' for flag `<'
>>
>> I did check -by setting $limitHI to a very small size, and innfeed
>> seems to recognize that variable. Can anyone verify this?
>
> Substitutions work well.

Thanks for your verification.

> You can even use:
> $SEPARATOR=:
> example/example.com$SEPARATOR*,$alwaysWITHHOLD$SEPARATORAjp,Tm,<$limitHI$SEPARATORinnfeed
>
> :)

Well, that's some kind of geek code ;-)

> Note that innd recognizes it (not innfeed).  innd substitutes the variable
> and checks itself whether it should transfer the message to innfeed.
>
> Suggested patch for inncheck:
[snip]

Parfait, that worked.

>> Next, with an uninitialized CNFS INN complains at initial start (found
>> in news.err and news.notice):
>> ,----
>> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:20:proc:9726
>> | Aug 13 13:33:46 feeder innfeed[9726]: ME starting at Fri Aug 13 13:33:46 2010 (INN 2.6.0 (20100812 snapshot))
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff TR1, initializing
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed initialization
>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed initialization
>> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, initializing
>> | Aug 13 13:33:46 feeder innd: SERVER starting
>> | Aug 13 13:33:46 feeder innd: innfeed-1! exit 1 elapsed 0 pid 9726
>> | Aug 13 13:33:46 feeder innd: innfeed-1!:20:proc:9726 closed
>> | Aug 13 13:33:46 feeder innd: innfeed-1! spawned innfeed-1!:34:proc:9740
>> | Aug 13 13:33:46 feeder innd: innfeed-1! restarted
>> | Aug 13 13:33:46 feeder innfeed[9740]: ME starting at Fri Aug 13 13:33:46 2010 (INN 2.6.0 (20100812 snapshot))
>> | Aug 13 13:33:46 feeder innfeed[9740]: loading /usr/local/news/etc/INNFEED/innfeed-1.conf
>> `----
>> That's a behaviour I did observe in earlier versions as well. Just a
>> question here: is this 'Storage manager initialization failed' worth
>> being reported in news.err instead of news.notice? The first time I saw
>> this some time ago I believed INN having crashed during start-up.
>
> It could be a real issue; innfeed exits just after.

It happened at two servers, both did initialize all CNFS successfully,
afterwards. BTW: Those messages are repeated for every innfeed instance
running. They all try to inititialize the very same CNFS. Might that be
an issue?

> Maybe it would be better to log:
>   Storage manager initialization failed -- it is OK after a change in storage 
> methods
>
> ???

That would be ok. In news.notice?

>> ,----
>> | allwaysWITHHOLD=!control,!control.*,!junk,!local.*/!local
>> | example/example.com:*,$alwaysWITHHOLD:Ajp,Tm,<$limitHI:innfeed
>> `----
>

> "$alwaysWITHHOLD" and not "allwaysWITHHOLD" (two "l").  I just mention
> it in case there is a problem in your file, but maybe it was not an
> extract from them.

Thanks. But that was a typo in my posting, thanks God ;-) In German
'always' might be translated with 'allemal', might explain those two 'l'.

>> That's running as expected. But I'm unsure whether I do need an Ajp or an
>> Aj, only?
>
> "Ap" is something different.  It would check "example.com" only, and not
> both "example" and "example.com" in the Path: header field of the article,
> in order to decide the propagation.

Ok, then I will leave it at Apj.

>> And: do I need '!junk' any longer? I don't think so, correct?
>
> I do not understand the question.
> If you remove "!junk", then articles posted directly to the junk newsgroup
> (that is to say with "Newsgroups: junk" in their headers) will be propagated.

Oh, I see. Now I understand the manual text. I somehow managed to miss
the conceptual differenc in articles being posted into newsgroups
without active entry and those being posted into the newsgroup junk
intentionally. Thanks for clarification.

Regards,
Michael
-- 
to let
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83371
Author: Julien ÉLIE
Date: Fri, 13 Aug 2010 20:49
88 lines
4394 bytes
Hi Michael,

>> Suggested patch for inncheck:
> [snip]
>
> Parfait, that worked.

OK, I'll commit it.


>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff 
>>> TR1, initializing
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush 
>>> whilst read only
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush 
>>> whilst read only
>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed 
>>> initialization
>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed 
>>> initialization
>>> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed

Note that is was read-only with innfeed.
It was during a cnfs_retrieve() call, which calls CNFSinit_disks().


>>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, 
>>> initializing

It is when the CNFS is initialized for real.  By innd.


> It happened at two servers, both did initialize all CNFS successfully,
> afterwards. BTW: Those messages are repeated for every innfeed instance
> running. They all try to inititialize the very same CNFS. Might that be
> an issue?

Reading the code in cnfs.c:

/*
** CNFSinit_disks -- Finish initializing cycbufftab
** Called by "innd" only -- we open (and keep) a read/write
** file descriptor for each CYCBUFF.
**
** Calling this function repeatedly shouldn't cause any harm
** speed-wise or bug-wise, as long as the caller is accessing the
** CYCBUFFs _read-only_.  If innd calls this function repeatedly,
** bad things will happen.
*/

static bool CNFSinit_disks(CYCBUFF *cycbuff) {
...


Well, I hope the comment is right.  I have not checked thoroughly
when every function is called in the code, but I checked CNFSinit_disks()
calls and they are located at places that a priori look fine.


>> Maybe it would be better to log:
>>   Storage manager initialization failed -- it is OK after a change in storage
>> methods
>>
>> ???
>
> That would be ok. In news.notice?

Still in news.err because otherwise we do not see it quickly and easily.
It is a problem, even with the complement in the message?


> Oh, I see. Now I understand the manual text. I somehow managed to miss
> the conceptual difference in articles being posted into newsgroups
> without active entry and those being posted into the newsgroup junk
> intentionally. Thanks for clarification.

Do not forget posts to groups aliased to "junk", to groups whose status
is "j", to groups aliased to a group whose status is "j", etc.
With "Aj", "wanttrash", "feedtrash", etc.

Ask Dieter if you have questions about them :-)

-- 
Julien ÉLIE

« La science consiste à passer d'un étonnement à l'autre. » (Aristote)
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83372
Author: D. Stussy
Date: Fri, 13 Aug 2010 21:13
14 lines
1890 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:i44b3v$nti$1@news.trigofacile.com...
> > [snip]
>
> Do not forget posts to groups aliased to "junk", to groups whose status
> is "j", to groups aliased to a group whose status is "j", etc.
> With "Aj", "wanttrash", "feedtrash", etc.
>
> Ask Dieter if you have questions about them :-)

I may have been responsible for the idea, but I'm not responsible for the
implementation.

Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83373
Author: Michael Grimm
Date: Fri, 13 Aug 2010 21:16
51 lines
3406 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

>>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff TR1, initializing
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush whilst read only
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed initialization
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed initialization
>>>> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
>
> Note that is was read-only with innfeed.
> It was during a cnfs_retrieve() call, which calls CNFSinit_disks().
>
>>>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, initializing
>
> It is when the CNFS is initialized for real.  By innd.

Hmm. You know INN's code by far better than myself: what's the reason
why innfeed would try to initialize a CNFS in read-only *before* innd
will do that for real? Just curious.

>>> Maybe it would be better to log:
>>>   Storage manager initialization failed -- it is OK after a change in storage
>>> methods
>>>
>>> ???
>>
>> That would be ok. In news.notice?
>
> Still in news.err because otherwise we do not see it quickly and easily.
> It is a problem, even with the complement in the message?

Oh no. I have no objections at all.

>> Oh, I see. Now I understand the manual text. I somehow managed to
>> miss the conceptual difference in articles being posted into
>> newsgroups without active entry and those being posted into the
>> newsgroup junk intentionally. Thanks for clarification.
>
> Do not forget posts to groups aliased to "junk", to groups whose
> status is "j", to groups aliased to a group whose status is "j", etc.
> With "Aj", "wanttrash", "feedtrash", etc.
>
> Ask Dieter if you have questions about them :-)

I won't open Pandora's box ;-)

Regards,
Michael
-- 
to let
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83374
Author: Michael Grimm
Date: Fri, 13 Aug 2010 21:30
23 lines
2289 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> "Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i44b3v$nti$1@news.trigofacile.com...

>> Do not forget posts to groups aliased to "junk", to groups whose
>> status is "j", to groups aliased to a group whose status is "j", etc.
>> With "Aj", "wanttrash", "feedtrash", etc.
>>
>> Ask Dieter if you have questions about them :-)
>
> I may have been responsible for the idea, but I'm not responsible for
> the implementation.

Well, now after having been guided in understanding the manual, I feel
perfectly well with the implementation. I always wanted to run INN as a
clearcut feeder, no controlchan, thus no reloads, no hassle with
newgroup et al., just pure receiving, filtering, and distributing of
articles, period. Now, with Aj, 'wanttrash true', and 'logtrash false'
it's been realized, thanks.

Regards,
Michael
-- 
to let
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83375
Author: Michael Grimm
Date: Fri, 13 Aug 2010 21:30
23 lines
2254 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> "Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:i44b3v$nti$1@news.trigofacile.com...

>> Do not forget posts to groups aliased to "junk", to groups whose
>> status is "j", to groups aliased to a group whose status is "j", etc.
>> With "Aj", "wanttrash", "feedtrash", etc.
>>
>> Ask Dieter if you have questions about them :-)
>
> I may have been responsible for the idea, but I'm not responsible for
> the implementation.

Well, now after having been guided in understanding the manual, I feel
perfectly well with the implementation. I always wanted to run INN as a
clearcut feeder, no controlchan, thus no reloads, no hassle with
newgroup et al., just pure receiving, filtering, and distributing of
articles, period. Now, with Aj, 'wanttrash true', and 'logtrash false'
it's been realized, thanks.

Regards,
Michael
-- 
to let
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83377
Author: Julien ÉLIE
Date: Sat, 14 Aug 2010 20:07
31 lines
2565 bytes
Hi Dieter,

>> Do not forget posts to groups aliased to "junk", to groups whose status
>> is "j", to groups aliased to a group whose status is "j", etc.
>> With "Aj", "wanttrash", "feedtrash", etc.
>>
>> Ask Dieter if you have questions about them :-)
>
> I may have been responsible for the idea, but I'm not responsible for the
> implementation.

Sure.
No offence in my sentence.  It was just a wink.

I only meant that I sometimes do not know what the implementation *should*
do about such edge cases.  It does something, of course, but I do not know
whether it is always the right behaviour, or better say the *expected*
behaviour.
Real users know better.  Their need is useful to know.  In order to improve
the implementation to better fit them.

That's why I wrote that you could be asked the theory about what *should*
be done :-)
If nobody complains, no changes are done and the behaviour remains as-is.

-- 
Julien ÉLIE

« Plus un ordinateur possède de RAM, plus vite il peut générer un message 
d'erreur. » 
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83376
Author: Julien ÉLIE
Date: Sat, 14 Aug 2010 20:11
25 lines
2510 bytes
Hi Michael,

>> I may have been responsible for the idea, but I'm not responsible for
>> the implementation.
>
> Well, now after having been guided in understanding the manual, I feel
> perfectly well with the implementation. I always wanted to run INN as a
> clearcut feeder, no controlchan, thus no reloads, no hassle with
> newgroup et al., just pure receiving, filtering, and distributing of
> articles, period. Now, with Aj, 'wanttrash true', and 'logtrash false'
> it's been realized, thanks.

Many thanks for the feedback.
I am glad INN 2.5.2+ suits your needs.
(I believe this 'wanttrash' behaviour is a bit like what Diablo could
already do as a feeder.)

I had forgotten about 'logtrash'.  You're also right:  that's a useful
new feature :-)

-- 
Julien ÉLIE

« Je suis né trop tard dans un monde trop antique. » (Astérix) 
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83461
Author: Julien ÉLIE
Date: Thu, 30 Sep 2010 17:49
45 lines
3197 bytes
Hi Michael,

>> Maybe it would be better to log:
>>   Storage manager initialization failed -- it is OK after a change in storage
>> methods
>
> Oh no. I have no objections at all.

Adopted, then.


>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1, 
>> initializing
>>
>> It is when the CNFS is initialized for real.  By innd.
>
> Hmm. You know INN's code by far better than myself: what's the reason
> why innfeed would try to initialize a CNFS in read-only *before* innd
> will do that for real? Just curious.

Just because innfeed makes use of storage methods.  At startup, it looks
at where articles may be stored, and "loads" the structures.
Calling SMinit() in read-only mode, it happens to try to load the new cycbuff,
and it fails.  Therefore, innfeed quits.  Once everything is OK, it is
happy and runs fine.

innfeed does not try to initialize a cycbuff.  It is just the initialization of
the whole storage manager system which is not yet complete.  And therefore fails,
which is what innfeed reports.



I believe innfeed could run before the storage manager is all initialized but
it would require to catch when an article from a backend it did not know yet
at startup has to be sent, and to initialize it at that very moment.
I believe the wisest thing is to keep the current functioning.  It works fine.
Better not break it...

-- 
Julien ÉLIE

« Nos modernes Josué littéraires crient vainement à la langue de s'arrêter ;
  les langues ni le Soleil ne s'arrêtent plus. Le jour où elles se fixent,
  c'est qu'elles meurent. » (Victor Hugo, Préface de _Cromwell_) 
Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
#83568
Author: Michael Grimm
Date: Sun, 24 Oct 2010 14:07
40 lines
2811 bytes
[Sorry being that late]

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

>>> Maybe it would be better to log:
>>>   Storage manager initialization failed -- it is OK after a change in storage
>>> methods
>>
>> Oh no. I have no objections at all.
>
> Adopted, then.

Merci. I will give it a try when upgrading my reader next time.

>> Hmm. You know INN's code by far better than myself: what's the reason
>> why innfeed would try to initialize a CNFS in read-only *before* innd
>> will do that for real? Just curious.
>
> Just because innfeed makes use of storage methods.  At startup, it
> looks at where articles may be stored, and "loads" the structures.
> Calling SMinit() in read-only mode, it happens to try to load the new
> cycbuff, and it fails.  Therefore, innfeed quits.  Once everything is
> OK, it is happy and runs fine.
>
> innfeed does not try to initialize a cycbuff.  It is just the
> initialization of the whole storage manager system which is not yet
> complete.  And therefore fails, which is what innfeed reports.

Thanks for your explanations. Now I do understand what is meant by the
logfile entries.

> I believe the wisest thing is to keep the current functioning.  It
> works fine.  Better not break it...

ACK

Regards,
Michael
-- 
to let
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