🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
15 messages
15 total messages Started by David Tomalin Wed, 30 Jul 1997 00:00
Server Throttling - Won't ever stop
#19890
Author: David Tomalin
Date: Wed, 30 Jul 1997 00:00
32 lines
1394 bytes
I have the following problem which does not seem to be resolved by any of
the normal permission/directory checks.

The server continues to go into a throttled state whenever a news peer
instigates a peering session, the  error reported is

innd: SERVER cant write control/7727313 No space left on device

However as can be seen below there is plenty of space still available:

/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
swap                  950904     272  950632     1%    /tmp
toaster:/            79218160 8125848 71092312    11%    /toaster


Any suggestions on other things to investigate would be appreciated:

Regards
David Tomalin








Re: Server Throttling - Won't ever stop
#19852
Author: Matt Dillon
Date: Wed, 30 Jul 1997 00:00
33 lines
1887 bytes
:In article <5rormf$18ru$1@node17.cwnet.frontiernet.net>,
:Dan Foster <dsf@node6.frontiernet.net> wrote:
:>In article <01bc9d15$048aa380$b601910a@davidtom.private.cableol.net>,
:>David Tomalin <david@cableol.net> wrote:
:>>I have the following problem which does not seem to be resolved by any of
:..
:>>swap                  950904     272  950632     1%    /tmp
:>>toaster:/            79218160 8125848 71092312    11%    /toaster
:>>
:>>Any suggestions on other things to investigate would be appreciated:
:>
:>Close to 80 gig spool... one thing I would *definitely* want to check out
:>is how many inodes you have allocated... you may very well be out of inodes.
:>
:>Hope not, though, because that's possibly very well mean a re-format with
:>higher inode allocation. ;-)
:>
:>Do something like 'df -i' and check the inodes free column.
:>
:>-Dan Foster
:>Internet: dsf@frontiernet.net

    It might be listing it in 512 byte blocks, in which case it's
    *only* a 40G spool (!).  At least I'm hoping it's only a 40G
    spool.  An 80G spool could hold upwards of 11 million articles
    and require a history file approaching a gig, and need half a
    gig of ram or more in the system to support efficiently.

					-Matt


Re: Server Throttling - Won't ever stop
#19892
Author: Dan Foster
Date: Wed, 30 Jul 1997 00:00
35 lines
2006 bytes
In article <01bc9d15$048aa380$b601910a@davidtom.private.cableol.net>,
David Tomalin <david@cableol.net> wrote:
>I have the following problem which does not seem to be resolved by any of
>the normal permission/directory checks.
>
>The server continues to go into a throttled state whenever a news peer
>instigates a peering session, the  error reported is
>
>innd: SERVER cant write control/7727313 No space left on device
>
>However as can be seen below there is plenty of space still available:
>
>/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
>/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
>/proc                      0       0       0     0%    /proc
>fd                         0       0       0     0%    /dev/fd
>swap                  950904     272  950632     1%    /tmp
>toaster:/            79218160 8125848 71092312    11%    /toaster
>
>
>Any suggestions on other things to investigate would be appreciated:

Close to 80 gig spool... one thing I would *definitely* want to check out
is how many inodes you have allocated... you may very well be out of inodes.

Hope not, though, because that's possibly very well mean a re-format with
higher inode allocation. ;-)

Do something like 'df -i' and check the inodes free column.

-Dan Foster
Internet: dsf@frontiernet.net

Re: Server Throttling - Won't ever stop
#19934
Author: aos
Date: Wed, 30 Jul 1997 00:00
19 lines
1217 bytes
David Tomalin <david@cableol.net> wrote:
> innd: SERVER cant write control/7727313 No space left on device

> However as can be seen below there is plenty of space still available:
<snip>

Sure, you've got space left, but do you have inodes left?

Judging from the number on that control message, you're dealing with
control-expansion-syndrome, and probably running out of inodes on your
spool drive.

-- 
Andrew Smith -- Sysadmin, Insync Internet Services   | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
     (finger -l aos@insync.net for full key)         |       - Tom Marhsall

Re: Server Throttling - Won't ever stop
#20001
Author: Andreas Gunnarsson
Date: Thu, 31 Jul 1997 00:00
25 lines
1883 bytes
In article <01bc9d15$048aa380$b601910a@davidtom.private.cableol.net>,
David Tomalin <david@cableol.net> wrote:
>The server continues to go into a throttled state whenever a news peer
>instigates a peering session, the  error reported is
>
>innd: SERVER cant write control/7727313 No space left on device
>
>However as can be seen below there is plenty of space still available:
>
>/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
>/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
>/proc                      0       0       0     0%    /proc
>fd                         0       0       0     0%    /dev/fd
>swap                  950904     272  950632     1%    /tmp
>toaster:/            79218160 8125848 71092312    11%    /toaster

Maybe you've run out of inodes? (df -i)
-- 
------------------------------------------------------------------------------
Andreas Gunnarsson                                         Nat:    031-7476081
andreas.gunnarsson@emw.ericsson.se                         Int: +46 31 7476081
http://www.dd.chalmers.se/~zzlevo/                         Fax:    031-7473771

Re: Server Throttling - Won't ever stop
#20142
Author: Michael Masterson
Date: Sat, 02 Aug 1997 00:00
31 lines
1641 bytes
Dan Foster wrote:
> 

> >/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
> >/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
> >/proc                      0       0       0     0%    /proc
> >fd                         0       0       0     0%    /dev/fd
> >swap                  950904     272  950632     1%    /tmp
> >toaster:/            79218160 8125848 71092312    11%    /toaster
> >
> >
> >Any suggestions on other things to investigate would be appreciated:
> 
> Close to 80 gig spool... one thing I would *definitely* want to check out
> is how many inodes you have allocated... you may very well be out of
> inodes.
 
> Do something like 'df -i' and check the inodes free column.

Probably innwatch getting confused over the output of /usr/ucb/df -i, 

I get this from df -i:

/dev/vs/dsk/newsc2/vol01 
                     25796430882356     1%   /news

that's 257964 used, 30882356 free. the numbers all run together and
innwatch gets confused. (Grins).

Re: Server Throttling - Won't ever stop
#20314
Author: Steve Day
Date: Fri, 08 Aug 1997 00:00
53 lines
2852 bytes
Mike Horwath <drechsau@yuck.net> wrote:
: Alexis Rosen <alexis@panix.com> wrote:
: : drechsau@yuck.net (Mike Horwath) writes:

: : >Andreas Gunnarsson <emwagu@squish.mo.emw.ericsson.se> wrote:
: : >: In article <01bc9d15$048aa380$b601910a@davidtom.private.cableol.net>,
: : >: David Tomalin <david@cableol.net> wrote:
: : >: >The server continues to go into a throttled state whenever a news peer
: : >: >instigates a peering session, the  error reported is
: : >: >
: : >: >innd: SERVER cant write control/7727313 No space left on device
: : >: >
: : >: >However as can be seen below there is plenty of space still available:
: : >: >
: : >: >/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
: : >: >/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
: : >: >/proc                      0       0       0     0%    /proc
: : >: >fd                         0       0       0     0%    /dev/fd
: : >: >swap                  950904     272  950632     1%    /tmp
: : >: >toaster:/            79218160 8125848 71092312    11%    /toaster

: : >: Maybe you've run out of inodes? (df -i)

: : >My guess is that it is a Network Appliance box.

: : >Easy to fix though:

: : >	From UNIX system, do a df -i

: : And then what? NFS doesn't know from inodes. df -i will tell you "*" when
: : you ask it how many inodes an NFS volume has...

: Bullshit...

: [11:37am] 619 [~]:pooh> df -i
: Filesystem           Inodes   IUsed   IFree  %IUsed Mounted on
: butler:/              524279  196366  327913    37%  /butler
: butler:/homes          40960    4330   36630    11%  /home
: butler:/staff         204800   53471  151329    26%  /butler/staff
: butler:/users         409600  105960  303640    26%  /butler/users
: butler:/web           122880   31917   90963    26%  /butler/web
: [11:37am] 620 [~]:pooh> 

: butler happens to be my netapp box.


   All he needs to do is change the "print $7" statement in the inodes 
check to "print $3". The original innwatch.ctl always has it at 7 and the 
field is actually 3, as you have shown above.


Re: Server Throttling - Won't ever stop
#20315
Author: Alexis Rosen
Date: Fri, 08 Aug 1997 00:00
37 lines
1993 bytes
drechsau@yuck.net (Mike Horwath) writes:

>Andreas Gunnarsson <emwagu@squish.mo.emw.ericsson.se> wrote:
>: In article <01bc9d15$048aa380$b601910a@davidtom.private.cableol.net>,
>: David Tomalin <david@cableol.net> wrote:
>: >The server continues to go into a throttled state whenever a news peer
>: >instigates a peering session, the  error reported is
>: >
>: >innd: SERVER cant write control/7727313 No space left on device
>: >
>: >However as can be seen below there is plenty of space still available:
>: >
>: >/dev/dsk/c0t0d0s0     492351  203123  239998    46%    /
>: >/dev/dsk/c0t0d0s6     731631  198287  460184    31%    /usr
>: >/proc                      0       0       0     0%    /proc
>: >fd                         0       0       0     0%    /dev/fd
>: >swap                  950904     272  950632     1%    /tmp
>: >toaster:/            79218160 8125848 71092312    11%    /toaster

>: Maybe you've run out of inodes? (df -i)

>My guess is that it is a Network Appliance box.

>Easy to fix though:

>	From UNIX system, do a df -i

And then what? NFS doesn't know from inodes. df -i will tell you "*" when
you ask it how many inodes an NFS volume has...

There's a command on the NA box that will tell you this info, but I don't
know what it is offhand.

/a

Re: Server Throttling - Won't ever stop
#20321
Author: Steinar Haug
Date: Fri, 08 Aug 1997 00:00
29 lines
1696 bytes
[Alexis Rosen]

|   >My guess is that it is a Network Appliance box.
|   
|   >Easy to fix though:
|   
|   >	From UNIX system, do a df -i
|   
|   And then what? NFS doesn't know from inodes. df -i will tell you "*" when
|   you ask it how many inodes an NFS volume has...
|   
|   There's a command on the NA box that will tell you this info, but I don't
|   know what it is offhand.

The command is maxfiles.

Also, with NFS v3, the statvfs system call (at least on Solaris) gives
you number of files/inodes. So even if "df" doesn't do it, the inndf
program from Dave Barr's tool page can do it.

(There's a trick that can be used here: You normally want the News spool
mounted with NFS v2 for performance - but you can mount it somewhere
else, with NFS v3, just to be able to get the inodes with statvfs. Trick
courtesy of Guy Harris, NetApp.)

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: Server Throttling - Won't ever stop
#20325
Author: Steinar Haug
Date: Fri, 08 Aug 1997 00:00
27 lines
1658 bytes
[Mike Horwath]

|   : (There's a trick that can be used here: You normally want the News spool
|   : mounted with NFS v2 for performance - but you can mount it somewhere
|   : else, with NFS v3, just to be able to get the inodes with statvfs. Trick
|   : courtesy of Guy Harris, NetApp.)
|   
|   Hmm...
|   
|   why v2 for performance?

NFS v3 does more work by default (RFC 1813):

   1. The number of over-the-wire packets for a given
      set of file operations is reduced by returning file
      attributes on every operation, thus decreasing the number
      of calls to get modified attributes.

but the extra work doesn't really help you any when use NFS for your
News spool.

Changing from v3 to v2 cut my expire time by more than an hour.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: Server Throttling - Won't ever stop
#20331
Author: Steve Day
Date: Fri, 08 Aug 1997 00:00
12 lines
1008 bytes
Alexis Rosen <alexis@panix.com> wrote:

: And then what? NFS doesn't know from inodes. df -i will tell you "*" when
: you ask it how many inodes an NFS volume has...


  It doesn't if the volume isn't physically on the server you are doing 
the df -i from, otherwise it does.


Re: Server Throttling - Won't ever stop
#20345
Author: Brian Tao
Date: Sat, 09 Aug 1997 00:00
15 lines
1323 bytes
In article <5sfi28$4kt$3@darla.visi.com>, Mike Horwath <drechsau@yuck.net> wrote:
>
>butler> maxfiles
>Maximum number of files is currently 524279 (196366 used).

    The great thing about running news on a Netapp is that you don't
have to worry about having enough inodes.  If it looks like you are
about to run out, just make more of 'em, and rebuild your quota tree.
No more fscking your spool to allocate more inodes.  :)
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Server Throttling - Won't ever stop
#20348
Author: Brian Tao
Date: Sat, 09 Aug 1997 00:00
16 lines
1397 bytes
In article <5sfi3m$4kt$4@darla.visi.com>, Mike Horwath <drechsau@yuck.net> wrote:
>
>why v2 for performance?

    NFSv3 clients tend to use readdir+, which is equivalent to an
NFSv2 readdir and a getattr for each file.  You don't need the getattr
part when reading or writing an article, so why bother?  It goes along
with the minimalist approach for a spool filesystem (don't do
synchronous updates, don't update the atimes on files and directories,
don't do aggressive read-ahead caching, etc.)
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Server Throttling - Won't ever stop
#20352
Author: Kevin L. Gross
Date: Sun, 10 Aug 1997 00:00
28 lines
1679 bytes
Steinar Haug wrote:
> 
> The command is maxfiles.
> 
> Also, with NFS v3, the statvfs system call (at least on Solaris) gives
> you number of files/inodes. So even if "df" doesn't do it, the inndf
> program from Dave Barr's tool page can do it.
> 
> (There's a trick that can be used here: You normally want the News spool
> mounted with NFS v2 for performance - but you can mount it somewhere
> else, with NFS v3, just to be able to get the inodes with statvfs. Trick
> courtesy of Guy Harris, NetApp.)
> 
> Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Does a NetApp box allow you to configure the number of inodes? How
about on the fly?

I asked their sales department this question and they acted like there
was no such thing as inodes on their filesystem.

-Kevin L. Gross
 Randori - Controlled Anarchy
 Providing USENET News Services to Netizens World Wide.
 Send email to info@randori.com or check out http://www.randori.com

Re: Server Throttling - Won't ever stop
#20368
Author: Steinar Haug
Date: Sun, 10 Aug 1997 00:00
20 lines
1529 bytes
["Kevin L. Gross"]

|   Does a NetApp box allow you to configure the number of inodes? How
|   about on the fly?
|   
|   I asked their sales department this question and they acted like there
|   was no such thing as inodes on their filesystem.

Remember that an inode is a Unix-specific thing. Why should a dedicated
NFS file server have inodes? The sales department should probably know
enough to tell you about the corresponding NetApp concept, though.

Yes, a NetApp box allows you to configure the maximum number of files
that can be created. Yes, it can be changed on the fly. But the number of
files can only be increased, not decreased.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

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