Re: diskHandleWrite: FD 32: disk write error: (32) Broken pipe

From: Dancer <[email protected]>
Date: Sun, 15 Mar 1998 00:12:31 +1000

Well, I'm damned if I can see why EPIPE could be returned, unless the
file-descriptor _is_ actually a network socket, and diskHandleWrite()
can be called for network file-descriptors (deliberately, or
accidentally).

D

Dancer wrote:
>
> *sigh* So I see. Time to UTSL (again). I've been through the source code
> three times on this one, so far.
>
> D
>
> Mark Visser wrote:
> >
> > On Sat, 14 Mar 1998, Dancer wrote:
> >
> > > That's the second time I've seen someone asking about that same error.
> > > I don't recall who the first one was.
> > >
> > > For some unknown reason some handle that is used by diskHandleWrite()
> > > is returning a fail, and errno is set to EPIPE. (It is possible EPIPE
> > > was set in a _previous_ operation and errno was not cleared, and that
> > > whatever caused write() to fail did not properly set errno...That's my
> > > best guess right now).
> > >
> > > I guess we need to know what operating system. I'll dig back through my
> > > inbox and see if I can find the OS of the other person who asked me.
> > >
> >
> > There were multiple ones, and a fast search on the mailinglist archive
> > resulted in:
> >
> > * From: Alfredo Sanjuan (alfre@ibd.es)
> > Date: Tue, 8 Apr 1997 12:29:53 +0200 (MET DST)
> > OS: Linux
> > Squid: after upgrading from 1.1.8 to 1.1.9
> >
> > * From: Julie Xu (julie@tscc2.macarthur.uws.EDU.AU)
> > Date: Fri, 5 Sep 1997 08:51:56 +1100 (E )
> > OS: unknown
> > Squid: unknown
> >
> > -> whole discussion from Terje
> > * From: Terje Krogdahl (tekr@nextel.no)
> > Date: Fri, 23 Jan 1998 16:33:29 +0100 (MET)
> > OS: DEC unix 4.0b
> > Squid: squid 1.1.18
> >
> > * From: Rainer Klier (Rainer.Klier@kwu.siemens.de)
> > Date: Mon, 26 Jan 1998 10:46:23 +0100 (MET)
> > OS: HP/UX 10.20
> > Squid: 1.1.20
> >
> > Mark
> >
> > -------------------------------------------------------------------------
> > Mark Visser | Student Civiele Technologie & Management
> > Calslaan 26 - 31 | E-mail: mark@cal026031.student.utwente.nl
> > 7522 MC Enschede | SNT-mail: mark@snt.utwente.nl
> > Telephone: 053-4895038 |
> > -------------------------------------------------------------------------
> > Warning: You can get rid of all the bugs by disabling them from the main menu.
>
> --
> Did you read the documentation AND the FAQ?
> If not, I'll probably still answer your question, but my patience will
> be limited, and you take the risk of sarcasm and ridicule.

-- 
Did you read the documentation AND the FAQ?
If not, I'll probably still answer your question, but my patience will
be limited, and you take the risk of sarcasm and ridicule.
Received on Sat Mar 14 1998 - 06:24:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:22 MST