🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26761

Re: inn-1.5.1 problems with Solaris 2.6

#26761
From: Forrest J. Cavalier III
Date: Wed, 11 Mar 1998 00:00
44 lines
2481 bytes
In article <6e5jin$4gb$1@mercur.foa.se>, sijon@lin.foa.se wrote...
[snip]

>
>We have a similar problem with inn-1.5.1 and Digital Unix. It has been
>working OK for several months but now we get "No space left on device
>writing article ..." every now and then. If we remove old articles in the
>directory pointed to by the error message it works a few hours and then
>it throttles again. And we are _not_ out of inodes.
>
>I have not been able to find where the space test is done - in the source
>code or in the scripts. Does anybody know right off?

If you search for the text "No space left on device" in the
INN sources, you will not find it.

The error message is written as a combination of strerror() "system
error strings" and INN provided text.  The code which writes that
line is in innd.c, ThrottleIOError()

--------------------
I've always thought that error reporting and handling in INN could
be greatly improved by including numeric error codes in addition
to the text message.  This would allow a list error codes and
appropriate solutions (and FAQ tie-ins) to be used.  For example,
instead of:
	Server throttled No space left on device writing logging article file

You would have something like:
	F10040.ENOSPC Server throttled No space left on device writing logging article file

"F" for fatal/throttle, then a unique error code, and ENOSPC denotes the errno value.  The
rest of the text would remain.

....I'm wondering, what do other people think of this idea?

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
'Pay-as-you-go' commercial support for INN: Only $64/hour! 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access! 
   http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <6e63cp$slu$3@nntp.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-mail
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <35057FDE.2C6A9D24@domaintje.com> <6e5jin$4gb$1@mercur.foa.se>

Show Full Headers
Complete Article Headers
Message-ID: <6e63cp$slu$3@nntp.epix.net>
Subject: Re: inn-1.5.1 problems with Solaris 2.6
Date: Wed, 11 Mar 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <35057FDE.2C6A9D24@domaintje.com> <6e5jin$4gb$1@mercur.foa.se>
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: 332968177
Mime-Version: 1.0
Distribution: inet
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Newsgroups: news.software.nntp