🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by gail_a Mon, 25 Oct 1999 00:00
Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41111
Author: gail_a
Date: Mon, 25 Oct 1999 00:00
229 lines
7957 bytes
We recently upgraded one of our news servers from INNv1.51 to
V2.21.  The storage system we chose is cnfs.  Since files are not
created or deleted to store an article, manual article expiration is not
needed. Old articles are deleted to make room for new ones when the
buffer gets to full.  Also, the server should never throttle itself due
to a full spool disk and you can restrict groups to certain buffer files
so that they can never use more than the amount of disk space you
allocate to them.

But something seems to be wrong with our setup.
Everything worked fine for a couple of weeks then the following error
message occurs when I execute the command ctlinnd mode:
Server throttled No space (newslib) [innwatch:29] 23744 lt 25000
Allowing remote connections
Parameters c 7 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate disabled No space (newslib) [innwatch:29] 23744 lt
25000

news@newspump local/news/etc> df -k
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/dsk/c0t3d0s0     984750  881524    44144     95%   /
swap                 1219744      12  1219732      0%   /tmp
/dev/dsk/c0t3d0s3    2297231 2227356    23931     99%   /usr/local
/dev/md/dsk/d0       33426184 30735129        0    100%
/var/spool/news

news@newspump local/news/etc>more cycbuff.conf
cycbuff:ONE:/var/spool/news/one:2048000
cycbuff:TWO:/var/spool/news/two:2048000
cycbuff:THREE:/var/spool/news/three:2048000
cycbuff:FOUR:/var/spool/news/four:2048000
cycbuff:FIVE:/var/spool/news/five:2048000
cycbuff:SIX:/var/spool/news/six:2048000
cycbuff:SEVEN:/var/spool/news/seven:2048000
cycbuff:EIGHT:/var/spool/news/eight:2048000
cycbuff:NINE:/var/spool/news/nine:2048000
cycbuff:TEN:/var/spool/news/ten:2048000
cycbuff:ELEVEN:/var/spool/news/eleven:2048000
cycbuff:TWELVE:/var/spool/news/twelve:2048000
cycbuff:THIRT:/var/spool/news/thirt:2048000
cycbuff:FOURT:/var/spool/news/fourt:2048000
cycbuff:FIFT:/var/spool/news/fift:2048000

metacycbuff:BINARIES:ONE,TWO,THREE,FOUR,FIVE
metacycbuff:REST:SIX,SEVEN,EIGHT,NINE,TEN,ELEVEN,TWELVE,THIRT,FOURT,FIFT
news@newspump local/news/etc> more storage.conf

method cnfs {
       newsgroups: alt.binaries.*
       class: 1
       size: 0,0
       options: BINARIES
}

method cnfs {
       newsgroups: *
       class: 2
       size: 0,0
       options: REST
}
ews@newspump local/news/etc>  more inn.conf
##  $Revision: 1.24.2.2 $
##  inn.conf -- inn configuration data
##  Format:
##      <parameter>:<whitespace><value>
##
##  See the inn.conf(5) man page for a full description of each
##  of these options
##
##  Blank values are allowed for certain parameters
## ---------------------------------
# All parameters must exist
#
organization:           Washington University
server:                 localhost
pathhost:               newspump
moderatormailer:
domain:
fromhost:
pathalias:
complaints:
mta:                    /usr/lib/sendmail -oi %s
mailcmd:                /usr/local/news/bin/innmail
checkincludedtext:      false
maxforks:               10
maxartsize:             1000000
nicekids:               4
nicenewnews:            0
verifycancels:          false
logcancelcomm:          false
wanttrash:              false
remembertrash:          true
linecountfuzz:          0
peertimeout:            3600
clienttimeout:          600
allownewnews:           false
localmaxartsize:        1000000
logartsize:             true
logipaddr:              true
logsitename:            true
maxconnections:         50
artcutoff:              7
icdsynccount:           10
hiscachesize:           0
readertrack:            false
strippostcc:            false
status:                 300
timer:                  300
readerswhenstopped:     false
noreader:               false
extendeddbz:            false
nnrpdoverstats:         false
storeonxref:            true
nnrpdcheckart:          true
storemsgid:             true
usecontrolchan:         false
mergetogroups:          false
backoffauth:            false
backoffdb:              /usr/local/news/db/backoff
backoffpostfast:        0L
backoffpostslow:        1L
backofftrigger:         10000L
mimeversion:
mimecontenttype:
mimeencoding:
refusecybercancels:     false
activedenable:          false
activedupdate:          30
activedport:            1119
nnrpperlauth:           false
#
#
# These options are unlikely to need changing in most situations
#
chaninacttime:          600
chanretrytime:          300
pauseretrytime:         300
nntplinklog:            false
nntpactsync:            200
badiocount:             5
blockbackoff:           120
#
# ---------------------------------
# Changing these options can have an effect on the way articles are
# stored and may require recreating the spool and/or database files
#
wireformat:             false
xrefslave:              false
nnrpdposthost:
nnrpdpostport:          119
spoolfirst:             false
writelinks:             true
storageapi:             true
articlemmap:            false
overviewmmap:           true
bindaddress:            all
sourceaddress:          any
port:                   119
#
## Keywords-in-overview options
## Enabling this without stopping innd and deleting the existing
overview## database and adding  will probably confuse a lot of things.
You must
## have compiled this support in too.
#
keywords:               false
keylimit:               512
keyartlimit:            100000
keymaxwords:            250
#
# Other options
innflags:
doinnwatch:             true
innwatchsleeptime:      600
pgpverify:              false
controlfailnotice:      false
logcycles:              3
innwatchpauseload:      1500
innwatchhiload:         2000
innwatchloload:         1000
innwatchspoolspace:     8000
innwatchbatchspace:     800
innwatchlibspace:       25000
innwatchspoolnodes:     200
docnfsstat:             false
#
# ---------------------------------
# Paths to various aspects of the news system
#
pathnews:               /usr/local/news
pathbin:                /usr/local/news/bin
pathfilter:             /usr/local/news/bin/filter
pathcontrol:            /usr/local/news/bin/control
pathdb:                 /usr/local/news/db
pathetc:                /usr/local/news/etc
pathrun:                /usr/local/news/run
pathlog:                /usr/local/news/log
pathhttp:               /usr/local/news/log
pathtmp:                /usr/local/news/tmp
pathspool:              /usr/local/news/spool
patharticles:           /usr/local/news/spool/articles
pathoverview:           /usr/local/news/spool/overview
pathoutgoing:           /usr/local/news/spool/outgoing
pathincoming:           /usr/local/news/spool/incoming
patharchive:            /usr/local/news/spool/archive
pathuniover:            /usr/local/news/spool/uniover
overviewname:           .overview
#
# ---------------------------------
#


Thankyou
gail


Gail Abramovitz
Washington University - St. Louis
Academic Computing and Networking
314-935-5982
gail@wugate.wustl.edu


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41091
Author: Paul Tomblin
Date: Mon, 25 Oct 1999 00:00
21 lines
1826 bytes
In a previous article, gail_a@my-deja.com said:
>message occurs when I execute the command ctlinnd mode:
>Server throttled No space (newslib) [innwatch:29] 23744 lt 25000

The answer, suprisingly enough, is in the diagnostic message.  You haven't
filled up spool space, you're dangerously short of space in newslib.  Now,
unfortunately, I don't know exactly what "newslib" is - there is no
configuration variable for "newslib" in etc/inn.conf or lib/innshellvars, and
I haven't got time right now to grovel all over the source code, but I'd
suspect either it's warning you about the db directory where your history
and active file lives, or possibly in the log directories.  "newslib" to me
would mean the lib directory where things like innshellvars live, but that's
not likely to grow over time.


-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41097
Author: Paul Tomblin
Date: Mon, 25 Oct 1999 00:00
23 lines
2025 bytes
In a previous article, ptomblin@xcski.com (Paul Tomblin) said:
>In a previous article, gail_a@my-deja.com said:
>>message occurs when I execute the command ctlinnd mode:
>>Server throttled No space (newslib) [innwatch:29] 23744 lt 25000
>
>The answer, suprisingly enough, is in the diagnostic message.  You haven't
>filled up spool space, you're dangerously short of space in newslib.  Now,
>unfortunately, I don't know exactly what "newslib" is - there is no
>configuration variable for "newslib" in etc/inn.conf or lib/innshellvars, and

Ok, I did grovel through the source code, and newslib isn't even set properly
or at all for shell, perl or tcl.  However, it appears that innwatch is
looking at $NEWSHOME/lib or something similar when it refers to newslib.  On
various machines I've looked at, that can be /home/news/lib or
/usr/lib/news/lib.  If that's on the same partition as as your db or log
directory, then that's the first place I'd look for problems.

-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41101
Author: Bert Hyman
Date: Mon, 25 Oct 1999 00:00
18 lines
1410 bytes
In article <7v2b4q$3r9$1@piper.xcski.com>,
Paul Tomblin <ptomblin@xcski.com> wrote:
>
>Ok, I did grovel through the source code, and newslib isn't even set properly
>or at all for shell, perl or tcl.  However, it appears that innwatch is
>looking at $NEWSHOME/lib or something similar when it refers to newslib.

If you look at "innwatch.ctl", you'll see that it's looking at PATHDB when
it produces that message. On my system, that's $HOME/db, which is where
the history file lives.
-- 
--
The opinions expressed in this message are my own and are not the opinions of
anyone who does not hold those opinions.

Bert Hyman | St. Paul, MN | bert@visi.com

Re: Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41123
Author: gail_a
Date: Tue, 26 Oct 1999 00:00
21 lines
1617 bytes
Thanks all for the help.  I was trying to figure out what newslib
actually was, plus what some of the values in the inn.conf file.  But as
Paul pointed out there are no references for a great many of these
values.
In any event...I finally figured out what the server was telling me:
The /usr/local partition had a tar file we created during the upgrade of
the old news stuff.  When i removed this the throttle error
dissappeared.  Thanks all.

I still have alot to learn about INN.  For instance how long it takes
for scripts to run, system throttles when updating history files.  I'm
not sure what is normal vs "red flags".  Any pointers here would be
appeciated.

Thanks again.  Gail


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Server Throttled on Inn2.2.1 w/ Solaris 2.5.1
#41132
Author: Paul Tomblin
Date: Tue, 26 Oct 1999 00:00
19 lines
1758 bytes
In a previous article, gail_a@my-deja.com said:
>I still have alot to learn about INN.  For instance how long it takes
>for scripts to run, system throttles when updating history files.  I'm
>not sure what is normal vs "red flags".  Any pointers here would be
>appeciated.

Well, for a start, having the server throttled stops new articles coming in,
but it doesn't stop people reading.  So if the server throttles for a few
minutes during expires, it's no big deal - your users won't even notice.

innwatch is pretty good about telling you about critical stuff - I have
news.crit sent to my pager, so I know when something is amiss.

-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

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