🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Alex.Bligh Sun, 18 Aug 1996 00:00
innxmit gives EPIPE on large articles, INN1.4Unoff4, Solaris 2.5
#10186
Author: Alex.Bligh
Date: Sun, 18 Aug 1996 00:00
78 lines
4303 bytes
I'm feeding between 2 Solaris 2.5 systems both running identical
INN1.4Unnoff4. Feeder is a busy NNTP site and seems to work fine
in general. Recipient is running 3 or 4 NNTP feeds, and doing
some reasonably heavy NNRP. Both quad processor 100ish Mhz Sparc
20s with 256Mb RAM.

Anyone seen anything like this before?

Possible clue - like the best bugs it takes much longer
to go wrong if you truss the innxmit :-)

While we are at it, is there any reason innxmit logs its
errors to stderr without any indication as to which innxmit
process is causing the problem. This way they end up
in nntpsend.log which isn't helpful. Any good reason
why I shouldn't change it to log to syslog for news.error
and include some details as to which feed is causing the
problem? And would anyone be interested in the patch if
I did?

Here's what happens half way through an innxmit:

3245:   open("comp/mail/eudora/ms-windows/3505", O_RDONLY) = 19
3245:   write(7, " t a k e t h i s   < 4 v".., 4582)    = 4582
3245:   write(2, " <  ", 2)                             = 2
3245:   write(2, " 2 3 8   < b u f u s - 1".., 48)      = 48
3245:   write(2, " >  ", 2)                             = 2
3245:   write(2, " t a k e t h i s   < b u".., 52)      = 52
3245:   write(2, "\n", 1)                               = 1
3245:   read(20, " P a t h :   x a r a . n".., 8192)    = 8192
3245:   read(20, " 0 i f M I 9 c Y d p a h".., 8186)    = 8186
3245:   write(7, " t a k e t h i s   < b u".., 16357) (sleeping...)
3245:   write(7, " t a k e t h i s   < b u".., 16357)   = 16357
3245:   read(20, " ` i e h H K e j @ D V M".., 8190)    = 8190
3245:   read(20, " Y ) E V d 9 l e E 1 0 T".., 8190)    = 8190
3245:   write(7, " e 6 ` X H Q V B N m R R".., 16368)   = 16368
3245:   read(20, " k m B c M 2 F & p p U f".., 8190)    = 8190
3245:   read(20, " 2 $ L 6 c c h $ q e p X".., 8190)    = 8190
3245:   write(7, " I E l k ` - U M # T + $".., 16368)   = 16368
3245:   read(20, " D r A $ P @ X h H ( @ Y".., 8190)    = 8190
3245:   read(20, " b e K i H B 9 D A X q C".., 8190)    = 8190
3245:   write(7, " d r U ! 6 j q D - X E S".., 16368)   = 16368
3245:   read(20, " h E a f * - G N c h 2 2".., 8190)    = 8190
3245:   read(20, " h I & 2 B 0 a J E p j r".., 8190)    = 8190
3245:   write(7, " Z Y @ e c d ) - P + 4 Q".., 16368)   = 16368
3245:   read(20, " X * " q j % 2 [ 2 Y Z +".., 8190)    = 8190
3245:   read(20, " I D 2 G m d q d r C L b".., 8190)    = 8190
3245:   write(7, " * @ D D U k e D l R c S".., 16368)   = 16368
3245:   read(20, " J f * T # q p D $ G N N".., 8190)    = 8190
3245:   read(20, " Y h Q $ 5 G ( 8 J I A U".., 8190)    = 8190
3245:   write(7, " L Y m j i C E 8 Q ` ( @".., 16368)   = 16368
3245:   read(20, " Y T ' r 0 N r H B c V -".., 8190)    = 8190
3245:   read(20, " 4 * a J l D Y A X e j 0".., 8190)    = 8190
3245:   write(7, " r Q d l " K $ C l f h 9".., 16368)   = 16368
3245:   read(20, " ! q ) 2 A i V I ) c q Z".., 8190)    = 8190
3245:   read(20, " D ` 0 r U R 9 c I h R X".., 8190)    = 8190
3245:   write(7, " Z f q k ( F i ( e 2 $ -".., 16368)   Err#32 EPIPE
3245:   write(2, " C a n ' t   s e n d   "", 12)        = 12

And from the debug log:

> check <1996081719145166937@zetnet.co.uk>
< 238 <bufus-1708960056430001@bufus.vip.best.com>
> takethis <bufus-1708960056430001@bufus.vip.best.com>
Can't send "alt/binaries/mac/games/25885", Broken pipe
Rewriting batch file and exiting.
stbuf[0]= sfnet/harrastus/kulttuuri/sarjakuvat/20,
<vaisala.840202225@messi.uku.fi>
stbuf[1]= atl/jobs/6921, <4v4jgu$jn0@mule2.mindspring.com>


-- 
Alex Bligh
Xara Networks


Re: innxmit gives EPIPE on large articles, INN1.4Unoff4, Solaris 2.5
#10193
Author: Mark Hittinger
Date: Sun, 18 Aug 1996 00:00
32 lines
1679 bytes
"Alex.Bligh" <amb@xara.net> writes:
>I'm feeding between 2 Solaris 2.5 systems both running identical
>INN1.4Unnoff4. Feeder is a busy NNTP site and seems to work fine
>in general. Recipient is running 3 or 4 NNTP feeds, and doing
>some reasonably heavy NNRP. Both quad processor 100ish Mhz Sparc
>20s with 256Mb RAM.
>Anyone seen anything like this before?
> ...
>> check <1996081719145166937@zetnet.co.uk>
>< 238 <bufus-1708960056430001@bufus.vip.best.com>
>> takethis <bufus-1708960056430001@bufus.vip.best.com>
>Can't send "alt/binaries/mac/games/25885", Broken pipe
>Rewriting batch file and exiting.

Two things to check -

Make sure your maximum article size (especially the local) is not set too
small.

Did you compile inn1.4unoff4 with gcc 2.7.2?  I had this exact problem when
I compiled with an older gcc.  There was a post to this group suggesting
that you needed to compile unoff4 with the newest gcc.  I found that hard 
to believe - but - it worked for me.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@netcom.com

Re: innxmit gives EPIPE on large articles, INN1.4Unoff4, Solaris 2.5
#10203
Author: Roger Binns
Date: Mon, 19 Aug 1996 00:00
18 lines
1307 bytes
Alex.Bligh (amb@xara.net) wrote:
: Here's what happens half way through an innxmit:
: 3245:   write(7, " Z f q k ( F i ( e 2 $ -".., 16368)   Err#32 EPIPE
: Can't send "alt/binaries/mac/games/25885", Broken pipe

This indicates that the other end has closed the connection, while
you were writing to it.  The behaviour on your end is sensible given that.
You will need to figure out why the remote end is closing the connection.

Roger
--
Roger Binns   rogerb@sco.com | The reasonable man adapts himself to the world;
Software Engineer            | the unreasonable one persists in trying to
Client Integration Division  | to adapt the world to himself. Therefore all
SCO, Vision Park, Cambridge  | progress depends on the unreasonable man - GBS

Re: innxmit gives EPIPE on large articles, INN1.4Unoff4, Solaris 2.5
#10237
Author: Alex.Bligh
Date: Tue, 20 Aug 1996 00:00
48 lines
2516 bytes
Mark Hittinger wrote:
> 
> "Alex.Bligh" <amb@xara.net> writes:
> >I'm feeding between 2 Solaris 2.5 systems both running identical
> >INN1.4Unnoff4. Feeder is a busy NNTP site and seems to work fine
> >in general. Recipient is running 3 or 4 NNTP feeds, and doing
> >some reasonably heavy NNRP. Both quad processor 100ish Mhz Sparc
> >20s with 256Mb RAM.
> >Anyone seen anything like this before?
> > ...
> >> check <1996081719145166937@zetnet.co.uk>
> >< 238 <bufus-1708960056430001@bufus.vip.best.com>
> >> takethis <bufus-1708960056430001@bufus.vip.best.com>
> >Can't send "alt/binaries/mac/games/25885", Broken pipe
> >Rewriting batch file and exiting.
> 
> Two things to check -
> 
> Make sure your maximum article size (especially the local) is not set too
> small.
> 
> Did you compile inn1.4unoff4 with gcc 2.7.2?  I had this exact problem when
> I compiled with an older gcc.  There was a post to this group suggesting
> that you needed to compile unoff4 with the newest gcc.  I found that hard
> to believe - but - it worked for me.

Thanks for that. The 1st is OK (it's identical on both systems) but I
will
check the latter. However FYI further investigations suggest that the
problem
is than innd on the receiving system appears to switch channels midway
through
receiving the article, perhaps to service an incoming nnrpd which
(slowly)
fails reverse DNS lookup, causing the feed to EPIPE in the b/g. If this
is, as I suspect, what is going on then I will write some sort of
reverse
DNS cache which includes caching lookup failures. I'm also going to try
increasing the buffer size on input and fiddling with the setsockopt
stuff. I'll let you know what happens.


-- 
Alex Bligh
Xara Networks

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