🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Matt Ranney Wed, 09 Sep 1998 00:00
diab-filter with new diablo
#31274
Author: Matt Ranney
Date: Wed, 09 Sep 1998 00:00
19 lines
1258 bytes
I patched diablo test18 with Joe Greco's diab-filter stuff, and it
wasn't too hard to get things going.  I'm using cleanfeed, and for the
most part, things are getting filtered like you'd expect them to.

There's an interesting thing I'm seeing a LOT of now though:

Sep  9 20:49:04 smurf diablo[23354]: error: opening article file (/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2 
Sep  9 20:49:04 smurf diablo[23354]: diab_read failed: D.00e64132/9a347466.5668e818.23cb:0,0

Most articles are getting read and filtered properly, but every second
or so, something like this pops up.  Matt/Joe (or anyone else), any
ideas on where I should start looking?

Thanks.
-- 
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.

Re: diab-filter with new diablo
#31298
Author: Matt Ranney
Date: Thu, 10 Sep 1998 00:00
27 lines
1479 bytes
jgreco@ns.sol.net (Joe Greco) writes:

[...]
> My diab-read function doesn't deal with that since I thought it was only a
> backwards compatibility hack.  Could you check in your spool to see if you
> are actually seeing spool files named like that, please?
> 
> % find /news/spool/news -type f -ls | grep -v /B
> 
> would be handy, if it outputs anything at all, mail me the first page of
> output.

There are no files actually named that in my spool, no.

So what is diab-read supposed to do if that happens?

> I think you said you're using this in a reader environment.  Perhaps that
> explains it, since I don't filter on my one experimental reader box.

Nope, this is on my diablo feeder box that's in turn feeding a diablo
reader.  Expiration is indeed set to "reader" if that has anything to
do with it.
-- 
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.

Re: diab-filter with new diablo
#31304
Author: Joe Greco
Date: Thu, 10 Sep 1998 00:00
44 lines
2631 bytes
In news.software.nntp article <m2yarssjpj.fsf@wacky.ranney.com>, Matt Ranney <mjr@ranney.com> wrote:
:I patched diablo test18 with Joe Greco's diab-filter stuff, and it
:wasn't too hard to get things going.  I'm using cleanfeed, and for the
:most part, things are getting filtered like you'd expect them to.
:
:There's an interesting thing I'm seeing a LOT of now though:
:
:Sep  9 20:49:04 smurf diablo[23354]: error: opening article file (/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2 
:Sep  9 20:49:04 smurf diablo[23354]: diab_read failed: D.00e64132/9a347466.5668e818.23cb:0,0
:
:Most articles are getting read and filtered properly, but every second
:or so, something like this pops up.  Matt/Joe (or anyone else), any
:ideas on where I should start looking?

D.00e64132/9a347466.5668e818.23cb:0,0
           ^^^^^^^^^^^^^^^^^^^^^^
This looks like it might be part of a Diablo hash value.  I'm used to seeing
filenames like D.xxxxxxxx/B.xxxx:n,n

I don't _think_ my code is doing that, since it looks..  oh, never mind.  I
just found what is doing that.

Diablo's "ArticleFileName" function will do that if both the offset and
article size indicators are zero.

My diab-read function doesn't deal with that since I thought it was only a
backwards compatibility hack.  Could you check in your spool to see if you
are actually seeing spool files named like that, please?

% find /news/spool/news -type f -ls | grep -v /B

would be handy, if it outputs anything at all, mail me the first page of
output.

I think you said you're using this in a reader environment.  Perhaps that
explains it, since I don't filter on my one experimental reader box.

If I need to fix this, it isn't (much of) a problem.  There are a few other
changes that could be made too, including eliminating the "data byte null"
check that I put in as a sanity check while debugging.

... JG

Re: diab-filter with new diablo
#31312
Author: Joe Greco
Date: Thu, 10 Sep 1998 00:00
36 lines
1921 bytes
In news.software.nntp article <m2g1dzsz00.fsf@wacky.ranney.com>, Matt Ranney <mjr@ranney.com> wrote:
:jgreco@ns.sol.net (Joe Greco) writes:
:
:[...]
:> My diab-read function doesn't deal with that since I thought it was only a
:> backwards compatibility hack.  Could you check in your spool to see if you
:> are actually seeing spool files named like that, please?
:> 
:> % find /news/spool/news -type f -ls | grep -v /B
:> 
:> would be handy, if it outputs anything at all, mail me the first page of
:> output.
:
:There are no files actually named that in my spool, no.

I see.  :-/

:So what is diab-read supposed to do if that happens?

Uh, report an error, since it is being handed a nonexistent article
handle.

:> I think you said you're using this in a reader environment.  Perhaps that
:> explains it, since I don't filter on my one experimental reader box.
:
:Nope, this is on my diablo feeder box that's in turn feeding a diablo
:reader.  Expiration is indeed set to "reader" if that has anything to
:do with it.

That might.  Dunno.

Maybe Matt Dillon would care to comment on what might cause this.

... JG

Re: diab-filter with new diablo
#31427
Author: Matt Dillon
Date: Wed, 16 Sep 1998 00:00
44 lines
2553 bytes
    There was a bug in test16 or 17, I think, which caused the diablo
    server to improperly queue feed entries that were rejected by the filter.
    Since they were rejected by the filter, they didn't get written out to the
    spool.

    This problem should be fixed in test18.

						-Matt

:In article <6t8h2n$4qa@newsops.execpc.com>,
:Joe Greco <jgreco@ns.sol.net> wrote:
:>In news.software.nntp article <m2yarssjpj.fsf@wacky.ranney.com>, Matt Ranney <mjr@ranney.com> wrote:
:>:I patched diablo test18 with Joe Greco's diab-filter stuff, and it
:>:wasn't too hard to get things going.  I'm using cleanfeed, and for the
:>:most part, things are getting filtered like you'd expect them to.
:>:
:>:There's an interesting thing I'm seeing a LOT of now though:
:>:
:>:Sep  9 20:49:04 smurf diablo[23354]: error: opening article file (/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2 
:>:Sep  9 20:49:04 smurf diablo[23354]: diab_read failed: D.00e64132/9a347466.5668e818.23cb:0,0
:>:
:>:Most articles are getting read and filtered properly, but every second
:>:or so, something like this pops up.  Matt/Joe (or anyone else), any
:>:ideas on where I should start looking?
:>
:>D.00e64132/9a347466.5668e818.23cb:0,0
:>           ^^^^^^^^^^^^^^^^^^^^^^
:>This looks like it might be part of a Diablo hash value.  I'm used to seeing
:>filenames like D.xxxxxxxx/B.xxxx:n,n
:>
:>I don't _think_ my code is doing that, since it looks..  oh, never mind.  I
:>just found what is doing that.
:>
:>Diablo's "ArticleFileName" function will do that if both the offset and
:>article size indicators are zero.
:>
:>My diab-read function doesn't deal with that since I thought it was only a
:...
-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: diab-filter with new diablo
#31448
Author: Matt Ranney
Date: Wed, 16 Sep 1998 00:00
15 lines
1059 bytes
dillon@best.net (Matt Dillon) writes:

>     There was a bug in test16 or 17, I think, which caused the diablo
>     server to improperly queue feed entries that were rejected by the filter.
>     Since they were rejected by the filter, they didn't get written out to the
>     spool.
> 
>     This problem should be fixed in test18.

The problem I reported was with test18.
-- 
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.

Re: diab-filter with new diablo
#31484
Author: Matt Dillon
Date: Fri, 18 Sep 1998 00:00
23 lines
1457 bytes
:In article <m267enfznw.fsf@wacky.ranney.com>,
:Matt Ranney  <mjr@ranney.com> wrote:
:>dillon@best.net (Matt Dillon) writes:
:>
:>>     There was a bug in test16 or 17, I think, which caused the diablo
:>>     server to improperly queue feed entries that were rejected by the filter.
:>>     Since they were rejected by the filter, they didn't get written out to the
:>>     spool.
:>> 
:>>     This problem should be fixed in test18.
:>
:>The problem I reported was with test18.

    ok, I got a second report of that.  I'll try to track it down.

					-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: diab-filter with new diablo
#31968
Author: jstenuit
Date: Sat, 03 Oct 1998 00:00
28 lines
2041 bytes
In article <6tpemg$r85$1@flea.best.net>,
  dillon@best.net (Matt Dillon) wrote:
>     There was a bug in test16 or 17, I think, which caused the diablo
>     server to improperly queue feed entries that were rejected by the filter.
>     Since they were rejected by the filter, they didn't get written out to the
>     spool.
>
>     This problem should be fixed in test18.

I'm sorry to bother you about that but I have the exact same symptoms with my
newly installed box running diablo 1.17-REL on Linux 2.1.123.

Filter program is cleanfeed, but I don't thing it matters. I'll try with some
blank filter to be sure.

> :In article <6t8h2n$4qa@newsops.execpc.com>,
> :Joe Greco <jgreco@ns.sol.net> wrote:
> :>In news.software.nntp article <m2yarssjpj.fsf@wacky.ranney.com>, Matt Ranney
<mjr@ranney.com> wrote:
> :>:Sep  9 20:49:04 smurf diablo[23354]: error: opening article file
(/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2
> :>:Sep  9 20:49:04 smurf diablo[23354]: diab_read failed:
D.00e64132/9a347466.5668e818.23cb:0,0

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: diab-filter with new diablo
#32173
Author: Matt Dillon
Date: Tue, 13 Oct 1998 00:00
43 lines
2578 bytes
:In article <6v5bir$3kg$1@nnrp1.dejanews.com>,
: <jstenuit@my-dejanews.com> wrote:
:>In article <6tpemg$r85$1@flea.best.net>,
:>  dillon@best.net (Matt Dillon) wrote:
:>>     There was a bug in test16 or 17, I think, which caused the diablo
:>>     server to improperly queue feed entries that were rejected by the filter.
:>>     Since they were rejected by the filter, they didn't get written out to the
:>>     spool.
:>>
:>>     This problem should be fixed in test18.
:>
:>I'm sorry to bother you about that but I have the exact same symptoms with my
:>newly installed box running diablo 1.17-REL on Linux 2.1.123.
:>
:>Filter program is cleanfeed, but I don't thing it matters. I'll try with some
:>blank filter to be sure.
:>
:>> :In article <6t8h2n$4qa@newsops.execpc.com>,
:>> :Joe Greco <jgreco@ns.sol.net> wrote:
:>> :>In news.software.nntp article <m2yarssjpj.fsf@wacky.ranney.com>, Matt Ranney
:><mjr@ranney.com> wrote:
:>> :>:Sep  9 20:49:04 smurf diablo[23354]: error: opening article file
:>(/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2
:>> :>:Sep  9 20:49:04 smurf diablo[23354]: diab_read failed:
:>D.00e64132/9a347466.5668e818.23cb:0,0
:>
:>-----------== Posted via Deja News, The Discussion Network ==----------
:>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

    Hmm.. I don't see anything wrong, could it have been old queue files
    or spool directories from a previous incarnation.  I would expect the
    problem to go away instantly if some of your outgoing feeds were
    backlogged since the backlogs would be working out of the older 
    directories.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: diab-filter with new diablo
#32183
Author: Matt Dillon
Date: Tue, 13 Oct 1998 00:00
24 lines
1503 bytes
:In article <701835$o3i$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>:In article <6v5bir$3kg$1@nnrp1.dejanews.com>,
:..
:>
:>    Hmm.. I don't see anything wrong, could it have been old queue files
:>    or spool directories from a previous incarnation.  I would expect the
:>    problem to go away instantly if some of your outgoing feeds were
:>    backlogged since the backlogs would be working out of the older 
:>    directories.
:>
:>						-Matt

    Oh yah, I'm batting .000 tonight :-)

    I meant :  I would *NOT* expect the problem to go away instantly if ...

					-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: diab-filter with new diablo
#32207
Author: Paul Martin
Date: Wed, 14 Oct 1998 00:00
13 lines
1245 bytes
In article <3624A686.BFDBF0D5@skynet.i8spam.be>,
	Jean-Francois Stenuit <jfs@skynet.i8spam.be> writes:

> Cleanfeed is eating up a lot of resources, but my feed is really clean
> now (looks like a soap commercial isn't it ?).

It certainly does eat CPU. I've noticed many articles are taking more than
the second that diab-filter thinks is reasonable.

-- 
Paul Martin <pm@zetnet.net>

Re: diab-filter with new diablo
#32213
Author: Jean-Francois Stenuit
Date: Wed, 14 Oct 1998 00:00
48 lines
2918 bytes
Matt Dillon wrote:
> 
> :In article <701835$o3i$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
> :>:In article <6v5bir$3kg$1@nnrp1.dejanews.com>,
> :..
> :>
> :>    Hmm.. I don't see anything wrong, could it have been old queue files
> :>    or spool directories from a previous incarnation.  I would expect the
> :>    problem to go away instantly if some of your outgoing feeds were
> :>    backlogged since the backlogs would be working out of the older
> :>    directories.
> :>
> :>                                              -Matt
> 
>     Oh yah, I'm batting .000 tonight :-)
> 
>     I meant :  I would *NOT* expect the problem to go away instantly if ...

I don't think the problem is there, as this is a new installation.

Anyway, I'm now running diablo + diab-filter + cleanfeed and it runs
quite well.
Cleanfeed is eating up a lot of resources, but my feed is really clean
now (looks like a soap commercial isn't it ?).

However, I was wondering if it wasn't possible to integrate diablo
with the patch a little deeper : suppress the diablo Spam filter
(option in the config) and replace it by an "external filter" (both
programs serve the same purpose), integrate statistics of rejected
articles in syslog's news.notice.

I'm looking in the code to do this but I guess Matt or Joe know it
better and could get a better result faster.... question is : is there
an interest for it ?

Regards,

--
 Opinions expressed above are mine, they have not to be taken as a
 skynet official position.
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/Jean-Francois "Jef" Stenuit | BELGACOM-Skynet NV/SA | Solaris 2.x,  \
\Network operations manager  | 124, Rue Col. Bourg   | Linux, NT,    /
/Phone (32)(2) 706-1311      | B-1140 Brussels       | Cisco         \
\Fax   (32)(2) 726-9823      | Belgium               | expert ...    /
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Re: diab-filter with new diablo
#32224
Author: Matt Dillon
Date: Wed, 14 Oct 1998 00:00
31 lines
1958 bytes
:In article <702jtg$8kj$1@roch.zetnet.co.uk>, Paul Martin <pm@zetnet.net> wrote:
:>In article <3624A686.BFDBF0D5@skynet.i8spam.be>,
:>	Jean-Francois Stenuit <jfs@skynet.i8spam.be> writes:
:>
:>> Cleanfeed is eating up a lot of resources, but my feed is really clean
:>> now (looks like a soap commercial isn't it ?).
:>
:>It certainly does eat CPU. I've noticed many articles are taking more than
:>the second that diab-filter thinks is reasonable.
:>
:>-- 
:>Paul Martin <pm@zetnet.net>

    The filter side of Diablo is on autopilot until I finish the last few items
    in the reader, but people are quite welcome to submit patches.  I know
    the filtering is quite primitive at the moment.

    I see no reason why we can't separate the internal spam filter from the 
    external filter.  Also, it ought to be much faster passing a 
    (file,offset,size) reference over the pipe rather then pushing the article
    through and have the filter mmap() the article, though that would change
    the API significantly.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

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