Article View: news.software.nntp
Article #19065Re: inn1.5.1 cant write Broken pipe
From: Forrest J. Cavalier III
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
85 lines
4038 bytes
4038 bytes
In article <ED07J1.3s6@murdoch.acc.Virginia.EDU>, rlb0p@holmes.acc.Virginia.EDU
wrote...
>
>I just checked www.dejanews.com and found several articles from mid-May
>on this topic, but most were questions. The one answer I saw indicated
>that the problem must be associated with outgoing feeds. I'm raising
>the issue again because I know that the log entries I'm seeing are
>coming from an inbound-only newsfeed.
>
If I know the thread you are talking about, back on May 19, in
Message-Id: <199705191205.IAA14310@pear.epix.net>
I wrote that the error is reported on inbound feeds which closed
prematurely. (Inbound feeds do require bidirectional handshaking.)
I reproduce that article below, since Deja News does not seem to have
it.
Summary: Since the code developers anticipated the EPIPE error, I think
it can be safely ignored. If it is chronic, and you want to
do something about it, then you need to find out why the sending end
is not closing gracefully.
Forrest Cavalier, Mib Software, INN customization and consulting
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
In article <5ln8ql$cra$1@news.more.net>, ali@vortex.more.net wrote...
>
>Ali Bakhshandeh <ali@vortex.more.net> wrote:
>: Michael Rudolph <mr@kdt2.sw-hb.de> wrote:
>: : Hi,
>: : I recently upgraded to inn-1.5.1 on a Sun, SunOS 4.1.1.
>: : Every now and then I get the following errors while receiving articles
>: : from our provider:
>
>: : innd: net:16 cant write Broken pipe
>: : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>: I'm getting the same kind of error from time to time after upgrading to
>: inn-1.5.1 (from inn-1.4sec2). I have already patched some unoff-patches to
>: original code. inn is running under SunOS 5.5. Maybe somebody knows what's
>: going on and can tell us what we should do. I have checked FAQ but couldn't
>: find any reference to the error.
>
>
>The following pattern exists for the error. It happens around 2:00am-3:00am:
[snip]
After receiving private e-mail from ali@vortext.more.net, I did some more
digging into some server logs and the sources, and the man pages.
There are two ways that chan.c notices an incoming connection closed
at the sender end.
1. When trying to read. This is the most common way an incoming
connection is closed: all transactions were completed and ack'ed.
2. When trying to write. The man pages say that EPIPE is
returned for pipes or sockets when the other endpoint
closed. When this happens, there is some un-acknowledged
(but completed) transaction. Instead of waiting for a
response, the sending end "gives up" and closes the connection.
(Perhaps it is in stream mode, and some "check" transactions
were pending.)
The developers of chan.c anticipated EPIPE during a write, since there
is code to handle that error return.
Unless it is indicating other problems, (or happens really often)
it is probably safe to consider this message "normal" behavior.
If you want to do some digging, there is probably some activity
which is running (perhaps renumber?) that delays the response.
-- The sending end times out, and closes the connection.
Forrest Cavalier, Mib Software, INN customization and consulting
Searchable Hypertext INN docs, FAQ, etc:
http://www.mibsoftware.com/userkt/forprov.htm
Technical Details
Message-ID:
<5puaa9$46l$1@news1.epix.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<ED07J1.3s6@murdoch.acc.Virginia.EDU>Show Full Headers
Complete Article Headers
Message-ID: <5puaa9$46l$1@news1.epix.net> Subject: Re: inn1.5.1 cant write Broken pipe Date: Tue, 08 Jul 1997 00:00:00 +0000 From: mibsoft@epix.net (Forrest J. Cavalier III) References: <ED07J1.3s6@murdoch.acc.Virginia.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 255584202 Organization: Mib Software Newsgroups: news.software.nntp