Thread View: news.software.nntp
11 messages
11 total messages
Started by Nadeem Bari
Tue, 10 Mar 1998 00:00
inn-1.5.1 problems with Solaris 2.6
Author: Nadeem Bari
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
35 lines
1907 bytes
1907 bytes
Hi, We recently upgraded our news machine (a Sun Ultra1) from Solaris 2.5.1 to Solaris 2.6. Everything seemed fine for a few days, but now, I got an error from ctlinnd mode saying Server throttled No space left on device writing logging article file -- throttling Allowing remote connections Parameters c 14 i 0 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified Not reserved Readers separate enabled and innd died. Our log files are kept on the root partition and a df -k shows there to be space left: Filesystem 1024-blocks Used Available Capacity Mounted on /dev/dsk/c0t0d0s0 577286 521030 55679 90% / /dev/dsk/c0t1d0s0 1251422 417088 833083 33% /usr/local /dev/dsk/c0t1d0s3 315519 1932 313272 1% /installs /dev/dsk/c0t5d0s2 8743973 1831887 6824647 21% /var/spool/news/over.view /dev/md/dsk/d0 33414036 26779874 6600748 80% /var/spool/news swap 1176192 312 1175880 0% /tmp When I restarted innd, everything worked fine. It's been running fine for after that, dealing with the same amount of space as before without problems, but inexplicable dying is unnerving, and who knows, it may die again. I was hoping someone here knows of this problem or possible solutions. Any help would be greatly appreciated. Thanks, -Nadeem
Re: inn-1.5.1 problems with Solaris 2.6
Author: frank
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
22 lines
1306 bytes
1306 bytes
Nadeem Bari wrote: > > Hi, > > We recently upgraded our news machine (a Sun Ultra1) from Solaris 2.5.1 to Solaris 2.6. > Everything seemed fine for a few days, but now, I got an error from ctlinnd mode saying > > Server throttled No space left on device writing logging article file -- throttling > Allowing remote connections > Parameters c 14 i 0 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified > Not reserved > Readers separate enabled > > and innd died. Our log files are kept on the root partition and a df -k shows there to be > space left: Probably a stupid suggestion, but how about your Inodes? Got enough of those? FrankE
Re: inn-1.5.1 problems with Solaris 2.6
Author: Dave Barr
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
21 lines
1267 bytes
1267 bytes
In article <6e3u1m$p4j$1@newsreader.wustl.edu>, Nadeem Bari <nb2@cec.wustl.edu> wrote: > >We recently upgraded our news machine (a Sun Ultra1) from Solaris 2.5.1 >to Solaris 2.6. >Everything seemed fine for a few days, but now, I got an error from >ctlinnd mode saying > > Server throttled No space left on device writing logging article file The "logging article file" is usually in /var/log/news. Looks like someone or some thing temporarily filled up /var/tmp, causing INN to throttle. I'd create a bigger, separate /var partition. --Dave -- http://www.cis.ohio-state.edu/~barr/ barr@cis.ohio-state.edu
Re: inn-1.5.1 problems with Solaris 2.6
Author: Forrest J. Cavalier III
Date: Wed, 11 Mar 1998 00:00
Date: Wed, 11 Mar 1998 00:00
44 lines
2481 bytes
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
Re: inn-1.5.1 problems with Solaris 2.6
Author: Chris Adams
Date: Wed, 11 Mar 1998 00:00
Date: Wed, 11 Mar 1998 00:00
30 lines
1915 bytes
1915 bytes
According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>: >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? Another nice thing would be to use the C preprocessor defines __FILE__ and __LINE__ to include exactly where in INN the error came from. For some things (like really filling up the disk), it would be meaningless but for things that someone is trying to debug it would be usefull. A #define wrapper for the error message functions is all that you need. -- Chris Adams - cadams@ro.com System Administrator - Renaissance Internet Services I don't speak for anybody but myself - that's enough trouble.
Re: inn-1.5.1 problems with Solaris 2.6
Author: Sven-Ingvar Jonsson
Date: Wed, 11 Mar 1998 00:00
Date: Wed, 11 Mar 1998 00:00
43 lines
1971 bytes
1971 bytes
frank <frank@domaintje.com> writes:
>Nadeem Bari wrote:
>>
>> Hi,
>>
>> We recently upgraded our news machine (a Sun Ultra1) from Solaris 2.5.1
to Solaris 2.6.
>> Everything seemed fine for a few days, but now, I got an error from
ctlinnd mode saying
>>
>> Server throttled No space left on device writing logging article file
-- throttling
>> Allowing remote connections
>> Parameters c 14 i 0 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
>> Not reserved
>> Readers separate enabled
>>
>> and innd died. Our log files are kept on the root partition and a df -k
shows there to be
>> space left:
>Probably a stupid suggestion, but how about your Inodes? Got enough of those?
>FrankE
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?
/Sven Ingvar
--
Sven Ingvar Jonsson | E-mail: sijon@lin.foa.se
FOA, Linkoping, Sweden |
Re: inn-1.5.1 problems with Solaris 2.6
Author: Don Lewis
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
30 lines
2039 bytes
2039 bytes
In article <6e68pe$84$1@news.ro.com>, Chris Adams <cadams@ro.com> wrote: >Another nice thing would be to use the C preprocessor defines __FILE__ >and __LINE__ to include exactly where in INN the error came from. For >some things (like really filling up the disk), it would be meaningless >but for things that someone is trying to debug it would be usefull. A >#define wrapper for the error message functions is all that you need. This works best if you have access to the actual source code in use. If someone posts the value of __LINE__ to this newsgroup, it may be somewhat misleading if they aren't running a stock release and have installed some unknown set of patches. Hmn, that's also a problem for: >According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>: >>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. How do you assign numeric error codes for errors detected in unofficial patches? Two people working on two totally different pieces of code could pick the same error code. -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 530 478-8284 FAX: +1 530 478-8251 Nevada City, CA 95959
Re: inn-1.5.1 problems with Solaris 2.6
Author: Forrest J. Cavalier III
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
37 lines
2306 bytes
2306 bytes
In article <6e893b$d0t$1@news.gv.tsc.tdk.com>, gdonl@tsc.tdk.com wrote... > >In article <6e68pe$84$1@news.ro.com>, Chris Adams <cadams@ro.com> wrote: > >>Another nice thing would be to use the C preprocessor defines __FILE__ >>and __LINE__ to include exactly where in INN the error came from. For >>some things (like really filling up the disk), it would be meaningless >>but for things that someone is trying to debug it would be usefull. A >>#define wrapper for the error message functions is all that you need. > >This works best if you have access to the actual source code in use. >If someone posts the value of __LINE__ to this newsgroup, it may be >somewhat misleading if they aren't running a stock release and have >installed some unknown set of patches. > >Hmn, that's also a problem for: > >>According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>: >>>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. > >How do you assign numeric error codes for errors detected in unofficial >patches? Two people working on two totally different pieces of code >could pick the same error code. ...Not a problem if the "extension" error codes were fixed at a single value (always "F9999", for example.) The person looking at the reference table would know to use the text string, not the error code, AND the person would know it was not generated by stock INN. Forrest
Re: inn-1.5.1 problems with Solaris 2.6
Author: Forrest J. Cavalier III
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
29 lines
1830 bytes
1830 bytes
In article <6e88qd$cll$1@news.gv.tsc.tdk.com>, gdonl@tsc.tdk.com wrote... >>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. > >The ENOSPC is somewhat redundant with the text of the message. The system >or library call that caused the error would be useful, since the errno >values indicated somewhat different problems with different syscalls. The redundancy is intentional. The text error strings are useful and should be kept, but they are O/S dependent. (Think of all the variants for EAGAIN there are....) The "Exxxx" tags are not O/S dependent, and they are shorter. I think it is better to have a user reference table that is invariant for different O/S's. Just my idea of things.... Forrest (P.S. I agree about tagging with the O/S call, since errno is set to some pretty non-intuitive values by some syscalls.)
Re: inn-1.5.1 problems with Solaris 2.6
Author: Don Lewis
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
33 lines
2138 bytes
2138 bytes
In article <6e63cp$slu$3@nntp.epix.net>, Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote: >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. It would be an ever growing list since new error codes would be added with each new INN version. You have to watch out for source code changes that change either the meaning of the error (because of changes in the way that stretch of source code is used) or that change the solution. >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. The ENOSPC is somewhat redundant with the text of the message. The system or library call that caused the error would be useful, since the errno values indicated somewhat different problems with different syscalls. -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 530 478-8284 FAX: +1 530 478-8251 Nevada City, CA 95959
Re: inn-1.5.1 problems with Solaris 2.6
Author: Ken Lalonde
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
10 lines
931 bytes
931 bytes
Some filesystems have an upper limit on the size of directories, and will return ENOSPC at file creation time if that limit is reached. Check for an insanely huge control.cancel directory. Joe Greco's cancel patch is one solution; see http://www.nntp.sol.net/patches/cancel.151.patch.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads