🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Ricardo Malta Fri, 08 Dec 2000 18:18
Problems with inode ???
#49336
Author: Ricardo Malta
Date: Fri, 08 Dec 2000 18:18
62 lines
4013 bytes
Hi,

I'm trying INN 2.3.0 out and I am getting some problems here !!!

The server tells me it has problems with disk space. But I can't see it !!

I'm using Linux and Reiserfs as the filesystem for the spool directory.

I can post the messages but they stay there !! With "rnews -U" I get this
"spool inode" messages.

Does someone know what this means ?? I've searched lots of FAQ's but the only
thing I found was some thing about Inode-table is full, although you have yet
disk space. But I don't think it is the problem here. /var is almost empty !!

Any help is really apreciated :-)
And sorry, but I'm new to INN :-(

Here you see the df-Output and below the messages in /var/log/messages.

Filesystem    Type   1k-blocks      Used Available Use% Mounted on
/dev/hda7 reiserfs     2096380    227772   1868608  11% /var
--------------------------------------------------------------
Dec  8 18:46:01 cenitsrv1 innd: SERVER descriptors 1024
Dec  8 18:46:01 cenitsrv1 innd: SERVER outgoing 1011
Dec  8 18:46:01 cenitsrv1 innd: SERVER ccsetup control:12
Dec  8 18:46:01 cenitsrv1 innd: SERVER lcsetup localconn:14
Dec  8 18:46:01 cenitsrv1 innd: SERVER rcsetup remconn:4
Dec  8 18:46:01 cenitsrv1 innd: SERVER bad_newsfeeds no feeding sites
Dec  8 18:46:01 cenitsrv1 innd: SERVER perl filtering enabled
Dec  8 18:46:01 cenitsrv1 innd: SERVER starting
Dec  8 18:46:11 cenitsrv1 nnrpd[28589]: SERVER perl filtering enabled
Dec  8 18:46:11 cenitsrv1 nnrpd[28589]: cenit4.muc connect
Dec  8 18:46:11 cenitsrv1 nnrpd[28589]: cenit4.muc group control 0
Dec  8 18:46:11 cenitsrv1 nnrpd[28589]: cenit4.muc group fun 0
Dec  8 18:46:26 cenitsrv1 nnrpd[28589]: cenit4.muc group junk 0
Dec  8 18:47:02 cenitsrv1 innd: s
Dec  8 18:47:04 cenitsrv1 innd: r:No space (spool inodes) [innwatch:39] 0 lt
200
Dec  8 18:47:04 cenitsrv1 innd: SERVER throttled No space (spool inodes)
[innwatch:39] 0 lt 200
Dec  8 18:47:23 cenitsrv1 innd: localhost:10 closed seconds 0 accepted 0
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Dec  8 18:47:23 cenitsrv1 nnrpd[28589]: cenit4.muc post ok
<90r6rb$rtd$1@cenitsrv1.muc>
Dec  8 18:47:38 cenitsrv1 nnrpd[28589]: cenit4.muc group fun 0
Dec  8 18:48:08 cenitsrv1 nnrpd[28589]: cenit4.muc group fun 0
Dec  8 18:48:39 cenitsrv1 innd: localhost:10 closed seconds 0 accepted 0
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Dec  8 18:48:39 cenitsrv1 nnrpd[28589]: cenit4.muc post ok
<90r6tn$rtd$2@cenitsrv1.muc>
Dec  8 18:51:31 cenitsrv1 innd: localhost:10 closed seconds 0 accepted 0
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Dec  8 18:51:31 cenitsrv1 rnews: rejected connection 400 No space (spool
inodes) [innwatch:39] 0 lt 200
Dec  8 18:57:04 cenitsrv1 innd: s
Dec  8 18:58:39 cenitsrv1 nnrpd[28589]: cenit4.muc timeout
Dec  8 18:58:39 cenitsrv1 nnrpd[28589]: cenit4.muc group fun 0
Dec  8 18:58:39 cenitsrv1 nnrpd[28589]: cenit4.muc posts received 2 rejected 0
Dec  8 18:58:39 cenitsrv1 nnrpd[28589]: cenit4.muc times user 0.030 system
0.040 elapsed 748.523
Re: Problems with inode ???
#49339
Author: Jim Toth
Date: Sat, 09 Dec 2000 00:26
20 lines
1448 bytes
On Fri, 08 Dec 2000 19:18:24 +0100, Ricardo Malta
<Ricardo.Malta@partner.bmw.de> wrote:
>Hi,
>
>I'm trying INN 2.3.0 out and I am getting some problems here !!!
>
>The server tells me it has problems with disk space. But I can't see it !!

[...]
>Here you see the df-Output and below the messages in /var/log/messages.
>
>Filesystem    Type   1k-blocks      Used Available Use% Mounted on
>/dev/hda7 reiserfs     2096380    227772   1868608  11% /var

What does ``df -i /var'' tell you?

-- 
Jim Toth
jtoth@acm.org
Re: Problems with inode ???
#49384
Author: Ricardo Malta
Date: Tue, 12 Dec 2000 08:15
27 lines
1792 bytes
Jim Toth wrote:
> 
> [...]
> >Here you see the df-Output and below the messages in /var/log/messages.
> >
> >Filesystem    Type   1k-blocks      Used Available Use% Mounted on
> >/dev/hda7 reiserfs     2096380    227772   1868608  11% /var
> 
> What does ``df -i /var'' tell you?

Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda7                  0       0       0    -  /var

It seems to be a problem of the system !!! I'm using Mandrake 7.1 !!

I see the same with a NFS directory !!!
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
cenit4.muc:/net/cenit4/fs0/home/rmalta
                           0       0       0    -  /home/rmalta

I've some SuSE clients  here also and the show it corret !!!

Thanks for the hint Jim :-))

Well I do not know how to fix it, but I think I have done nothing wrong
compiling and configuring INN :-))
Re: Problems with inode ???
#49389
Author: Ricardo Malta
Date: Tue, 12 Dec 2000 13:44
18 lines
1548 bytes
Well,

after the posting of Jim I've started some "hacking" ;-))
(Well actually some fprints and grep's ;-))

After searching the C-Code I have found the "solution" of my problem in the
file innwatch.tcl :-))

There we have a line calling "inndf -i". I have just commented it out !!! Well
I hope it is not so bad, as I intend to use it on a really small server with
not even 100 news a day ;-) And I have really plenty of space :-))

Now I must start configuring the news I want to offer. Does someone know some
kind of HOWTO ?? or a StepByStep document ??

Thanks,
Ricardo
Re: Problems with inode ???
#49514
Author: Russ Allbery
Date: Sun, 24 Dec 2000 12:30
14 lines
1409 bytes
Ricardo Malta <Ricardo.Malta@partner.bmw.de> writes:

> There we have a line calling "inndf -i". I have just commented it out
> !!! Well I hope it is not so bad, as I intend to use it on a really
> small server with not even 100 news a day ;-) And I have really plenty
> of space :-))

It means that ReiserFS isn't reporting inode usage in a useful form.  What
does df -i print on your system (the regular df, not inndf)?  We should
fix inndf to deal with this properly.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Problems with inode ???
#49539
Author: Simon Lyall
Date: Tue, 26 Dec 2000 09:56
29 lines
2385 bytes
Russ Allbery <rra@stanford.edu> wrote:
> It means that ReiserFS isn't reporting inode usage in a useful form.  What
> does df -i print on your system (the regular df, not inndf)?  We should
> fix inndf to deal with this properly.

reiserfs just gives bogus numbers for inodes. This is what my server
shows:

lust:~# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1              3462956    645948   2641100  20% /
/dev/sdb1            450328332 437406628  12921704  97% /usr/local/news
/dev/sda1             20964124  10042784  10921340  48% /usr/local/news/spool/overview/even
/dev/sdc1             20969820  10042788  10927032  48% /usr/local/news/spool/overview/odd

lust:~# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/hda1             439776   22463  417313    5% /
/dev/sdb1            4294967295       0 4294967295    0% /usr/local/news
/dev/sda1            4294967295       0 4294967295    0% /usr/local/news/spool/overview/even
/dev/sdc1            4294967295       0 4294967295    0% /usr/local/news/spool/overview/odd



-- 
Simon Lyall.                |  Newsmaster  | Work: simon.lyall@ihug.co.nz
Senior Network/System Admin |              | Home: simon@darkmere.gen.nz
ihug, Auckland, NZ          | Asst Doorman | Web: http://www.darkmere.gen.nz
Re: Problems with inode ???
#49540
Author: Russ Allbery
Date: Tue, 26 Dec 2000 10:02
18 lines
1727 bytes
Simon Lyall <simon.lyall@ihug.co.nz> writes:

> lust:~# df -i
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/hda1             439776   22463  417313    5% /
> /dev/sdb1            4294967295       0 4294967295    0% /usr/local/news
> /dev/sda1            4294967295       0 4294967295    0% /usr/local/news/spool/overview/even
> /dev/sdc1            4294967295       0 4294967295    0% /usr/local/news/spool/overview/odd

Aha.  That would be the problem.  That's 2^32 - 1, and inndf is using a
long rather than an unsigned long to store the value.  So it's ending up
negative, which of course innwatch thinks is less than the threshold.

This should be fixable.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Problems with inode ???
#49577
Author: Kai Henningsen
Date: Thu, 28 Dec 2000 22:38
29 lines
2332 bytes
rra@stanford.edu (Russ Allbery)  wrote on 26.12.00 in <ylzohjmrfd.fsf@windlord.stanford.edu>:

> Simon Lyall <simon.lyall@ihug.co.nz> writes:
>
> > lust:~# df -i
> > Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> > /dev/hda1             439776   22463  417313    5% /
> > /dev/sdb1            4294967295       0 4294967295    0% /usr/local/news
> > /dev/sda1            4294967295       0 4294967295    0%
> > /usr/local/news/spool/overview/even /dev/sdc1            4294967295
> > 0 4294967295    0% /usr/local/news/spool/overview/odd
>
> Aha.  That would be the problem.  That's 2^32 - 1, and inndf is using a
> long rather than an unsigned long to store the value.  So it's ending up
> negative, which of course innwatch thinks is less than the threshold.
>
> This should be fixable.

If I understand correctly, reiserfs does not have preallocated inode  
tables, it just stores the inode info at the start of the file. So it  
*can't* give meaningful numbers here.


Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)
Re: Problems with inode ???
#49581
Author: Russ Allbery
Date: Fri, 29 Dec 2000 08:53
29 lines
2232 bytes
Kai Henningsen <kaih=7solHriHw-B@khms.westfalen.de> writes:
> rra@stanford.edu (Russ Allbery) wrote:
>> Simon Lyall <simon.lyall@ihug.co.nz> writes:

>>> lust:~# df -i
>>> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
>>> /dev/hda1             439776   22463  417313    5% /
>>> /dev/sdb1            4294967295       0 4294967295    0% /usr/local/news
>>> /dev/sda1            4294967295       0 4294967295    0%
>>> /usr/local/news/spool/overview/even /dev/sdc1            4294967295
>>> 0 4294967295    0% /usr/local/news/spool/overview/odd

>> Aha.  That would be the problem.  That's 2^32 - 1, and inndf is using a
>> long rather than an unsigned long to store the value.  So it's ending
>> up negative, which of course innwatch thinks is less than the
>> threshold.

>> This should be fixable.

> If I understand correctly, reiserfs does not have preallocated inode
> tables, it just stores the inode info at the start of the file. So it
> *can't* give meaningful numbers here.

Yeah, but the numbers that it's giving are just fine.  inndf should be
able to handle them.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Problems with inode ???
#49722
Author: bill davidsen
Date: Mon, 08 Jan 2001 21:00
27 lines
2439 bytes
In article <ylsnneovb0.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Ricardo Malta <Ricardo.Malta@partner.bmw.de> writes:
| 
| > There we have a line calling "inndf -i". I have just commented it out
| > !!! Well I hope it is not so bad, as I intend to use it on a really
| > small server with not even 100 news a day ;-) And I have really plenty
| > of space :-))
| 
| It means that ReiserFS isn't reporting inode usage in a useful form.  What
| does df -i print on your system (the regular df, not inndf)?  We should
| fix inndf to deal with this properly.

  Wasn't there another issue with Reisser f/s and INN? Memory tells me
that there were other problems with mmap()ing files, or sparse files, or
some such. And I think they make innd fail trying to write a previously
unwritten portion of a sparse file, or some such.

  Can anyone tell me what I'm (almost) remembering as the problem here?

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
The line from the immutable past to the desired future is useful to
justify continuing to tack into the wind, making a major change in
course, or coasting into safe harbor. It is not a map of where you are
going, just how to get where you want to go.
Re: Problems with inode ???
#49731
Author: Russ Allbery
Date: Tue, 09 Jan 2001 01:14
13 lines
1497 bytes
bill davidsen <davidsen@tmr.com> writes:

> Wasn't there another issue with Reisser f/s and INN? Memory tells me
> that there were other problems with mmap()ing files, or sparse files, or
> some such.  And I think they make innd fail trying to write a previously
> unwritten portion of a sparse file, or some such.

Yeah, but I think it's fixed.  Or at least lots of people talked about it
and I thought I saw some mention of a fix a while back.

-- 
Russ Allbery (rra@stanford.edu)             <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