Article View: news.software.nntp
Article #43468Re: sparc11:0 cxnsleep can't read response : Error 0
From: Ishikawa,Chiaki,remove No Spam f...
Date: Tue, 18 Jan 2000 00:00
Date: Tue, 18 Jan 2000 00:00
38 lines
2491 bytes
2491 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:
> Assuming it's the same reason why INN occasionally gets readclose errors,
> it's due to using O_NDELAY instead of O_NONBLOCK as the way to set the
> socket non-blocking; that will cause read to occasionally return 0 even
> when the connection hasn't been closed. There are other various
> possibilities. I'm inclined to suspect something of that sort, but don't
> have a good solution to fix it.
I checked the source and found the reference to
O_NDELAY in
inn-2.2.2/lib/nonblocking.c:
>#if !defined(FNDELAY)
>#define FNDELAY O_NDELAY
>#endif /* !defined(FNDELAY) */
Later in the same file, FNDELAY is later used in setting mode (3rd)
argument to fcntl.
It looks that the warning lines I see look
innocent, but the underlying cause is rather hairy and
as you suggest, very difficult to fix.
(My first thought was to check the error return value and stop the
warning message line if the error value is 0. This simply gets rid of
the lines instead of fixing the root cause of the problem.)
Again, I will let the system run and report any new findings on this.
--
Ishikawa, Chiaki ishikawa@personal-media.co.jp.NoSpam or
(family name, given name) Chiaki.Ishikawa@personal-media.co.jp.NoSpam
Personal Media Corp. ** Remove .NoSpam at the end before use **
Shinagawa, Tokyo, Japan 142-0051
Technical Details
Message-ID:
<nhfgb34e7.fsf@sparc18.personal-media.co.jp>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:
<nya9o7qmj.fsf@sparc18.personal-media.co.jp> <860i0g$3aq$1@inn.do.mms.mt.nec.co.jp> <npuv0kt1t.fsf@sparc18.personal-media.co.jp> <ylbt6km79b.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <nhfgb34e7.fsf@sparc18.personal-media.co.jp> Subject: Re: sparc11:0 cxnsleep can't read response : Error 0 Date: Tue, 18 Jan 2000 00:00:00 +0000 From: "Ishikawa,Chiaki,remove No Spam from the address"<ishikawa@personal-media.co.jp.NoSpam> References: <nya9o7qmj.fsf@sparc18.personal-media.co.jp> <860i0g$3aq$1@inn.do.mms.mt.nec.co.jp> <npuv0kt1t.fsf@sparc18.personal-media.co.jp> <ylbt6km79b.fsf@windlord.stanford.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: 574207504 Sender: ishikawa@sparc18.personal-media.co.jp X-Md4-Signature: f96a3527d6d4c89a88cc0c30296e4e3c X-Complaints-To: news@personal-media.co.jp X-Trace: sparc20.personal-media.co.jp 948201473 15338 192.9.200.18 (18 Jan 2000 13:17:53 GMT) Organization: Personal Media Corp., Tokyo, Japan. NNTP-Posting-Date: 18 Jan 2000 13:17:53 GMT Newsgroups: news.software.nntp