🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Nacho Thu, 10 Jun 1999 00:00
INN2 No space (spool)
#37934
Author: Nacho
Date: Thu, 10 Jun 1999 00:00
26 lines
1344 bytes
Hi:
    I'm getting this message from my innd:

400 No space (spool) [innwatch:27] 0 lt 8000

Which starts a few seconds after starting rc.news. I've checked disk
space and free inodes and everything seems ok.

Any help will be appreciated.

Tanks on advance.

-
--------------------------------------------------------------------
Ignacio Paredes               |  email: iparedes@eurocomercial.es
Eurocomercial                 |  Tfno: +34 91 4359687
Informatica y Comunicaciones  |  Fax: +34 91 4313240
--------------------------------------------------------------------
EuroIDT (Eurocomercial Internet Development Team)
email: euroidt@eurocomercial.es
--------------------------------------------------------------------




Re: INN2 No space (spool)
#37949
Author: Russ Allbery
Date: Thu, 10 Jun 1999 00:00
19 lines
1239 bytes
Nacho <iparedes@eurocomercial.es> writes:

> I'm getting this message from my innd:

> 400 No space (spool) [innwatch:27] 0 lt 8000

> Which starts a few seconds after starting rc.news. I've checked disk
> space and free inodes and everything seems ok.

One of two things is happening.  Either the df parsing is broken in
innwatch.ctl on your OS, or (if you're using the inndf program), you're on
a glibc 2.1 system which doesn't work correctly with inndf due to a change
in the definition of one of the structures that inndf parses.  I believe
the latter problem is fixed in current INN 2.2 STABLE snapshots.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN2 No space (spool)
#37951
Author: Rick Ellis
Date: Fri, 11 Jun 1999 00:00
15 lines
1231 bytes
In article <yl674wjtr3.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

>One of two things is happening.  Either the df parsing is broken in
>innwatch.ctl on your OS, or (if you're using the inndf program), you're on
>a glibc 2.1 system which doesn't work correctly with inndf due to a change
>in the definition of one of the structures that inndf parses.  I believe
>the latter problem is fixed in current INN 2.2 STABLE snapshots.

It's not fixed in inn-STABLE_2_2-1999-06-01_03-02.

--
http://www.fnet.net/~ellis/photo/

Re: INN2 No space (spool)
#38420
Author: Russ Allbery
Date: Mon, 05 Jul 1999 00:00
28 lines
1849 bytes
Rick Ellis <ellis@ftel.net> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> One of two things is happening.  Either the df parsing is broken in
>> innwatch.ctl on your OS, or (if you're using the inndf program), you're
>> on a glibc 2.1 system which doesn't work correctly with inndf due to a
>> change in the definition of one of the structures that inndf parses.  I
>> believe the latter problem is fixed in current INN 2.2 STABLE
>> snapshots.

> It's not fixed in inn-STABLE_2_2-1999-06-01_03-02.

We finally got some more information about this problem with inndf.  It
appears to be caused by a patch that's included in the version of glibc
that's distributed with Red Hat 6.0 that sets the block size on some file
systems as returned by statvfs() to zero.

This patch does not appear to be part of the mainline glibc sources, and
Debian (which also uses glibc 2.1) doesn't appear to have this problem.
I'd accordingly call this a bug in Red Hat; we can try to come up with
some sort of work-around, but the result is that inndf is simply not going
to be able to generate correct information when the block size isn't
supplied by the OS.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN2 No space (spool)
#38457
Author: Russ Allbery
Date: Tue, 06 Jul 1999 00:00
42 lines
2163 bytes
[ Posted and mailed. ]

Uwe Ohse <uwe-nsn19990706@ohse.de> writes:
> Russ Allbery wrote:

>> I'd accordingly call this a bug in Red Hat; we can try to come up with
>> some sort of work-around, but the result is that inndf is simply not
>> going

Thanks for the patch!  Forwarded to inn-patches@isc.org.  (The below was
written by Uwe Ohse, but I removed the quoting to make it easier to
apply.)

--- inndf.c	Tue Oct  6 07:25:09 1998
+++ inndf.c.new	Mon Jun 21 09:29:06 1999
@@ -81,6 +81,7 @@
 #define STATSTRUC	statvfs		/* structure name */
 #define STATAVAIL	f_bavail	/* blocks available */
 #define STATMULTI	f_frsize	/* fragment size/block size */
+#define CAREFULL_STATMULTI f_bsize /* in case f_frsize is 0 */
 #define STATINODE	f_favail	/* inodes available */
 #define STATTYPES	u_long		/* type of f_bavail etc */
 #define STATFORMT	"%lu"		/* format string to match */
@@ -122,8 +123,12 @@
 			/* this is often the same as just buf.f_bavail */
 			/* but we want to cope with different underlying */
 			/* block/fragment sizes, and avoid overflow */
+			STATTYPES x=buf.STATMULTI;
+#ifdef CAREFULL_STATMULTI
+			if (x==0) x=buf.CAREFULL_STATMULTI;
+#endif
 			value = (STATTYPES)
-				(((double) buf.STATAVAIL * buf.STATMULTI) /
+				(((double) buf.STATAVAIL * x) /
 				(STATTYPES) KILOBYTES);
 		} else {
 			value = buf.STATINODE;	  /* simple! */

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN2 No space (spool)
#38463
Author: Uwe Ohse
Date: Tue, 06 Jul 1999 00:00
31 lines
1955 bytes
Russ Allbery wrote:

>I'd accordingly call this a bug in Red Hat; we can try to come up with
>some sort of work-around, but the result is that inndf is simply not going

--- inndf.c	Tue Oct  6 07:25:09 1998
+++ inndf.c.new	Mon Jun 21 09:29:06 1999
@@ -81,6 +81,7 @@
 #define STATSTRUC	statvfs		/* structure name */
 #define STATAVAIL	f_bavail	/* blocks available */
 #define STATMULTI	f_frsize	/* fragment size/block size */
+#define CAREFULL_STATMULTI f_bsize /* in case f_frsize is 0 */
 #define STATINODE	f_favail	/* inodes available */
 #define STATTYPES	u_long		/* type of f_bavail etc */
 #define STATFORMT	"%lu"		/* format string to match */
@@ -122,8 +123,12 @@
 			/* this is often the same as just buf.f_bavail */
 			/* but we want to cope with different underlying */
 			/* block/fragment sizes, and avoid overflow */
+			STATTYPES x=buf.STATMULTI;
+#ifdef CAREFULL_STATMULTI
+			if (x==0) x=buf.CAREFULL_STATMULTI;
+#endif
 			value = (STATTYPES)
-				(((double) buf.STATAVAIL * buf.STATMULTI) /
+				(((double) buf.STATAVAIL * x) /
 				(STATTYPES) KILOBYTES);
 		} else {
 			value = buf.STATINODE;	  /* simple! */

Re: INN2 No space (spool)
#38825
Author: John Doe
Date: Sat, 24 Jul 1999 00:00
50 lines
2508 bytes
I know that this is a patch for INN 2.2 to fix a bug with the nightly
news.daily report that show no available free space, but how do I
apply it?  Forgive me, I'm a newbie.

John


On 06 Jul 1999 05:55:07 -0700, Russ Allbery <rra@stanford.edu> wrote:

>[ Posted and mailed. ]
>
>Uwe Ohse <uwe-nsn19990706@ohse.de> writes:
>> Russ Allbery wrote:
>
>>> I'd accordingly call this a bug in Red Hat; we can try to come up with
>>> some sort of work-around, but the result is that inndf is simply not
>>> going
>
>Thanks for the patch!  Forwarded to inn-patches@isc.org.  (The below was
>written by Uwe Ohse, but I removed the quoting to make it easier to
>apply.)
>
>--- inndf.c	Tue Oct  6 07:25:09 1998
>+++ inndf.c.new	Mon Jun 21 09:29:06 1999
>@@ -81,6 +81,7 @@
> #define STATSTRUC	statvfs		/* structure name */
> #define STATAVAIL	f_bavail	/* blocks available */
> #define STATMULTI	f_frsize	/* fragment size/block size */
>+#define CAREFULL_STATMULTI f_bsize /* in case f_frsize is 0 */
> #define STATINODE	f_favail	/* inodes available */
> #define STATTYPES	u_long		/* type of f_bavail etc */
> #define STATFORMT	"%lu"		/* format string to match */
>@@ -122,8 +123,12 @@
> 			/* this is often the same as just buf.f_bavail */
> 			/* but we want to cope with different underlying */
> 			/* block/fragment sizes, and avoid overflow */
>+			STATTYPES x=buf.STATMULTI;
>+#ifdef CAREFULL_STATMULTI
>+			if (x==0) x=buf.CAREFULL_STATMULTI;
>+#endif
> 			value = (STATTYPES)
>-				(((double) buf.STATAVAIL * buf.STATMULTI) /
>+				(((double) buf.STATAVAIL * x) /
> 				(STATTYPES) KILOBYTES);
> 		} else {
> 			value = buf.STATINODE;	  /* simple! */


Re: INN2 No space (spool)
#38830
Author: Russ Allbery
Date: Sat, 24 Jul 1999 00:00
13 lines
1096 bytes
John Doe <jdoe@aol.com> writes:

> I know that this is a patch for INN 2.2 to fix a bug with the nightly
> news.daily report that show no available free space, but how do I apply
> it?

You don't need to; it's been committed.  Just grab a recent 2.2 STABLE
snapshot.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN2 No space (spool)
#38849
Author: bill davidsen
Date: Tue, 27 Jul 1999 00:00
21 lines
1538 bytes
In article <ylaesme9yt.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| John Doe <jdoe@aol.com> writes:
| 
| > I know that this is a patch for INN 2.2 to fix a bug with the nightly
| > news.daily report that show no available free space, but how do I apply
| > it?
| 
| You don't need to; it's been committed.  Just grab a recent 2.2 STABLE
| snapshot.

What was the problem? I havn't seen this one, and I thought I'd had 'em
all;-)

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: INN2 No space (spool)
#38857
Author: Russ Allbery
Date: Tue, 27 Jul 1999 00:00
16 lines
1160 bytes
bill davidsen <davidsen@tmr.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> You don't need to; it's been committed.  Just grab a recent 2.2 STABLE
>> snapshot.

> What was the problem? I havn't seen this one, and I thought I'd had 'em
> all;-)

Interaction bug between inndf and Red Hat's glibc 2.1 due to a patch put
into Red Hat's glibc that wasn't standard.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN2 No space (spool)
#38903
Author: John Doe
Date: Sun, 01 Aug 1999 00:00
20 lines
1395 bytes
Where can I get the stable release from, I've been searching but
cannot find it.  Maybe I'm not looking in the right places.  Help.

John


On 24 Jul 1999 01:19:22 -0700, Russ Allbery <rra@stanford.edu> wrote:

>John Doe <jdoe@aol.com> writes:
>
>> I know that this is a patch for INN 2.2 to fix a bug with the nightly
>> news.daily report that show no available free space, but how do I apply
>> it?
>
>You don't need to; it's been committed.  Just grab a recent 2.2 STABLE
>snapshot.


Re: INN2 No space (spool)
#38911
Author: John Doe
Date: Sun, 01 Aug 1999 00:00
20 lines
1395 bytes
Where can I get the stable release from, I've been searching but
cannot find it.  Maybe I'm not looking in the right places.  Help.

John


On 24 Jul 1999 01:19:22 -0700, Russ Allbery <rra@stanford.edu> wrote:

>John Doe <jdoe@aol.com> writes:
>
>> I know that this is a patch for INN 2.2 to fix a bug with the nightly
>> news.daily report that show no available free space, but how do I apply
>> it?
>
>You don't need to; it's been committed.  Just grab a recent 2.2 STABLE
>snapshot.


Re: INN2 No space (spool)
#38941
Author: Russ Allbery
Date: Tue, 03 Aug 1999 00:00
11 lines
1145 bytes
John Doe <jdoe@aol.com> writes:

> Where can I get the stable release from, I've been searching but cannot
> find it.  Maybe I'm not looking in the right places.  Help.

ftp.isc.org in /isc/inn/snapshots; look for the latest inn-STABLE one.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

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