Thread View: news.software.nntp
5 messages
5 total messages
Started by Matt Ranney
Mon, 17 Aug 1998 00:00
DIABLO: reader issues
Author: Matt Ranney
Date: Mon, 17 Aug 1998 00:00
Date: Mon, 17 Aug 1998 00:00
48 lines
2393 bytes
2393 bytes
I'm running diablo-1.16-test14 with the reader on the same machine as
the feeder, and for the most part, its working pretty well. It is
certainly faster than INN2+CNFS on the same hardware.
I've do have a couple of issues with the reader support though that
I'm hoping someone can help with.
The first is that the maximum articles in any group seems to be locked
at 1024. Irrespective of the expire times that are set, once groups
grow to 1024 articles, the minimum article number seems to go up in
sync with the max. These articles are still available from the feeder
if you know the message ID, but the reader seems to be capping things
at 1K worth of articles.
The second is that all posts seem to be getting rejected. When I post
from either Netscape or tin, the server seems to accept the article,
but the feeder doesn't like it. When I post from emacs/gnus, I get
"441 Article has no body -- just headers", even though there are
plenty of lines worth of body in there. Here's what the server does
log when posting from Netscape/tin:
Aug 17 17:14:03 diablo dreaderd[4413]: connect from clientip (clientip)
Aug 17 17:14:59 diablo dreaderd[4413]: closed from clientip (clientip) arts=0 bytes=0
I had posted an article to misc.test from both Netscape and tin, and
here's where dspoolout runs:
Aug 17 17:20:00 diablo newslink[11143]: upstream:/news/dqueue/upstream connect: 203 StreamOK. (streaming)
Aug 17 17:20:01 diablo newslink[11122]: upstream:/news/dqueue/upstream final secs=405 acc=0 dup=0 rej=2 tot=2
My setup is:
Linux 2.0.34 (RedHat 5.1)
384MB RAM
2 Buslogic UW controllers with 70GB of striped spool space
diablo-1.16-test14
feeder doesn't use active
reader on same machine
upstream is diablo 1.14
Clues much appreciated.
Thanks.
--
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.
Re: DIABLO: reader issues
Author: Matt Ranney
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
34 lines
2028 bytes
2028 bytes
dillon@best.net (Matt Dillon) writes: [...] > Yes, the articles per group are limited to 1024. It's actually > adjustable (part of the per-group header structure), but currently > hardwired. I hope to fix that after the first production release of > the reader code. Would setting this to like 4K or 8K be bad in any way? > Your post-rejection problem is something else. I am able to post to > my test box running dreaderd via trn. Have you tried trn? Obviously > I want POST to work with all common programs, and I thought I did. > There could be something else going on here. I suspect there is something else going on here, but nothing gets logged as to why the articles are getting rejected, so its kinda hard to know why. I tried it with tin and got the same result. The server takes the new message, but when if offers it to the upstream, the upstream doesn't want it. However, the upstream is pure diablo feeder, so I would think it would be somewhat tolerant. Here's what it logs when the reader machine tries to send it a post: Aug 20 17:12:50 upstream diablo[18]: readermachine secs=241 ihave=0 chk=1 rec=1 rej=1 predup=0 posdup=0 pcoll=0 spam=0 err=0 added=0 bytes=0 (0/sec) I note also that the reader machine doesn't seem to have the article in its spool either. -- Matt Ranney - mjr@ranney.com Let's not let the students run the High School.
Re: DIABLO: reader issues
Author: Matt Dillon
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
50 lines
3021 bytes
3021 bytes
:In article <m2iujrazyw.fsf@wacky.ranney.com>,
:Matt Ranney <mjr@ranney.com> wrote:
:>I'm running diablo-1.16-test14 with the reader on the same machine as
:>the feeder, and for the most part, its working pretty well. It is
:>certainly faster than INN2+CNFS on the same hardware.
:>
:>I've do have a couple of issues with the reader support though that
:>I'm hoping someone can help with.
:>
:>The first is that the maximum articles in any group seems to be locked
:>at 1024. Irrespective of the expire times that are set, once groups
:>grow to 1024 articles, the minimum article number seems to go up in
:>sync with the max. These articles are still available from the feeder
:>if you know the message ID, but the reader seems to be capping things
:>at 1K worth of articles.
:>
:>The second is that all posts seem to be getting rejected. When I post
:>from either Netscape or tin, the server seems to accept the article,
:>but the feeder doesn't like it. When I post from emacs/gnus, I get
:>"441 Article has no body -- just headers", even though there are
:>plenty of lines worth of body in there. Here's what the server does
:>log when posting from Netscape/tin:
:>
:>Aug 17 17:14:03 diablo dreaderd[4413]: connect from clientip (clientip)
:>Aug 17 17:14:59 diablo dreaderd[4413]: closed from clientip (clientip) arts=0 bytes=0
:>
:>I had posted an article to misc.test from both Netscape and tin, and
:>here's where dspoolout runs:
:>
:>Aug 17 17:20:00 diablo newslink[11143]: upstream:/news/dqueue/upstream connect: 203 StreamOK. (streaming)
:>Aug 17 17:20:01 diablo newslink[11122]: upstream:/news/dqueue/upstream final secs=405 acc=0 dup=0 rej=2 tot=2
Yes, the articles per group are limited to 1024. It's actually
adjustable (part of the per-group header structure), but currently
hardwired. I hope to fix that after the first production release of
the reader code.
Your post-rejection problem is something else. I am able to post to
my test box running dreaderd via trn. Have you tried trn? Obviously
I want POST to work with all common programs, and I thought I did.
There could be something else going on here.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: DIABLO: reader issues
Author: Matt Ranney
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
12 lines
875 bytes
875 bytes
Matt Ranney <mjr@ranney.com> writes:
[...]
> I tried it with tin and got the same result. The server takes the new
^^^^
That should say "trn", which is what you suggested I try.
--
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.
Re: DIABLO: reader issues
Author: Matt Dillon
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
50 lines
2819 bytes
2819 bytes
:In article <m2btpf2nff.fsf@wacky.ranney.com>,
:Matt Ranney <mjr@ranney.com> wrote:
:>dillon@best.net (Matt Dillon) writes:
:>
:>[...]
:>> Yes, the articles per group are limited to 1024. It's actually
:>> adjustable (part of the per-group header structure), but currently
:>> hardwired. I hope to fix that after the first production release of
:>> the reader code.
:>
:>Would setting this to like 4K or 8K be bad in any way?
:>
:>> Your post-rejection problem is something else. I am able to post to
:>> my test box running dreaderd via trn. Have you tried trn? Obviously
:>> I want POST to work with all common programs, and I thought I did.
:>> There could be something else going on here.
:>
:>I suspect there is something else going on here, but nothing gets
:>logged as to why the articles are getting rejected, so its kinda hard
:>to know why.
The later test code, which you are running, logs the reason why if you
kill -USR1 the parent diablo process prior to receiving the connection
from your other feed, or if you kill -USR1 the forked diablo handling
the feed. You may have to send USR1 twice to bump the debug level
up. Remember to kill -USR2 Diablo when you are done. It'as always best
to try to turn on debugging on on the forked diablo handling the specific
connection that you wish to debug.
Diablo's rejection of downstream messages may be causing the post to fail
for the same reason that diablo's rejecting the articles, whatever that
reason wins up being.
-Matt
>
>Aug 20 17:12:50 upstream diablo[18]: readermachine secs=241 ihave=0 chk=1 rec=1 rej=1 predup=0 posdup=0 pcoll=0 spam=0 err=0 added=0 bytes=0 (0/sec)
>
>I note also that the reader machine doesn't seem to have the article
>in its spool either.
>--
>Matt Ranney - mjr@ranney.com
>Let's not let the students run the High School.
--
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