Article View: news.software.nntp
Article #39155Re: [INN] Resource temporarily unavailable
From: Michael Famin
Date: Fri, 13 Aug 1999 00:00
Date: Fri, 13 Aug 1999 00:00
40 lines
2216 bytes
2216 bytes
Allan Joergensen wrote: > I get a lot of these in the syslog: > > innd: <newsfeed name>:19 cant read Resource temporarily unavailable > > Any idea why? > I have the same problem, and I have researced a little in Sunsolve.Basicly the problem is that when inn is polling the feed to see if there is anything to read, it gets an ansver that it is, say 1340 bytes to read, but when it tries to read, there is fewer bytes present, so the read gets an EAGAIN. It seems that Solaris returns the number of bytes to read before it can deliver them when you are reading in nonblocking mode. There is 2 bugid at Sunsolve 1178506 and 1213398. The problem is that these are for 2.4 but I can not find any solution for them apart from the workaround which is to do a sleep after the poll, but before the read. There is also an "unnoficial-patch" for an old version of INN (see ftp://ftp.isc.org/isc/inn/unoff-patchs/OLD/solaris-2.4.patch) that suggests that you change (or rather don't change) the socket options in nc.c. I have not tried that, because I would rather see a fix for the operating system. If anyone know a solution, I'll be glad to hear about it!!! I'm using Solaris x86 2.7 with kernelpatch 106542-05 (to be able to use blockdevice bigger than 2Gb...) and I have verified with the small code in bugid 1213398, that I have the same problem. Rgds, Micke Famin WM-data
Technical Details
Message-ID:
<37B3B1B4.DC3A5313@wmdata.com>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:
<slrn7r2017.huu.dw@coredump.nowhere.dk>Show Full Headers
Complete Article Headers
Message-ID: <37B3B1B4.DC3A5313@wmdata.com> Subject: Re: [INN] Resource temporarily unavailable Date: Fri, 13 Aug 1999 00:00:00 +0000 From: Michael Famin <mifam@wmdata.com> References: <slrn7r2017.huu.dw@coredump.nowhere.dk> 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: 512148991 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@wmdata.com X-Trace: news.wm.net 934523174 7313 194.18.224.226 (13 Aug 1999 05:46:14 GMT) Organization: WM-data Mime-Version: 1.0 NNTP-Posting-Date: 13 Aug 1999 05:46:14 GMT Newsgroups: news.software.nntp