🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by newbie Sun, 29 Feb 2004 15:07
Newbie Innd Questions
#68368
Author: newbie
Date: Sun, 29 Feb 2004 15:07
172 lines
5552 bytes
Dear all.

My server running smooth at normally, however, when the connections
more than 300 , the innd service will automically stop. I need to
restart the innd service everytime. And in the news.err log, it
appears a message

"could not open /var/spool/news/overview/g/s/test.IDX: Too many open
files in system"


Here enclosed my innd.conf file.My linux version is RedHat7.2 with
inn-2.3.2-5
PC config : P4 2.6 Ghz with 1GB DDRram

mta:                    /usr/sbin/sendmail -oi -oem %s
organization:           newbie.com
ovmethod:               tradindexed
#pathhost:              localhost
pathnews:               /usr

# General Settings

domain:                 xxx
innflags:
mailcmd:                /usr/bin/innmail
server:                 rh7

# Feed Configuration

artcutoff:              10
bindaddress:
hiscachesize:           0
ignorenewsgroups:       false
immediatecancel:        false
linecountfuzz:          0
maxartsize:             5000000
maxconnections:         5000
pathalias:
pgpverify:              false
port:                   119
refusecybercancels:     false
remembertrash:          true
sourceaddress:
usecontrolchan:         true
verifycancels:          false
wanttrash:              false
wipcheck:               5
wipexpire:              10

# Article Storage

cnfscheckfudgesize:     0
enableoverview:         true
groupbaseexpiry:        true
mergetogroups:          false
overcachesize:          15
ovgrouppat:
storeonxref:            false
useoverchan:            false
wireformat:             false
xrefslave:              false

# Reading

allownewnews:           true
articlemmap:            false
clienttimeout:          1800
nnrpdcheckart:          true
nnrpperlauth:           false
nnrppythonauth:         false
noreader:               false
readerswhenstopped:     false
readertrack:            false

# Reading -- Keyword Support
#
# 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
keyartlimit:            100000
keylimit:               512
keymaxwords:            250

# Posting

addnntppostingdate:     true
addnntppostinghost:     true
checkincludedtext:      false
complaints:             admin@testing.com
fromhost:               news.xxxx.com.hk
localmaxartsize:        5000000
moderatormailer:        admin@testing
nnrpdauthsender:        false
nnrpdposthost:strippostcc:            false

# Posting -- Exponential Backoff

backoffauth:            false
backoffdb:
backoffk:               1
backoffpostfast:        0
backoffpostslow:        1
backofftrigger:         10000

# Monitoring

doinnwatch:             false
innwatchbatchspace:     800
innwatchlibspace:       25000
innwatchloload:         1000
innwatchhiload:         2000
innwatchpauseload:      1500
innwatchsleeptime:      600
innwatchspoolnodes:     200
innwatchspoolspace:     8000

# Logging

docnfsstat:             false
logartsize:             true
logcancelcomm:          false
logcycles:              3
logipaddr:              true
logsitename:            true
nnrpdoverstats:         false
nntpactsync:            200
nntplinklog:            false
status:                 0
timer:                  0

# System Tuning

badiocount:             5
blockbackoff:           120
chaninacttime:          600
icdsynccount:           10
maxforks:               10
nicekids:               0
nicenewnews:            0
nicennrpd:              0
pauseretrytime:         300
peertimeout:            3600
rlimitnofile:           -1

# Paths

patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/bin
pathcontrol:            /usr/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/lib/news/tmp

chanretrytime:          300

nnrpdpostport:          119
spoolfirst:             false

Please help, thank you very much :>
Re: Newbie Innd Questions
#68369
Author: johnny bravo
Date: Sun, 29 Feb 2004 16:43
27 lines
1814 bytes
On 29 Feb 2004 07:07:30 -0800, alvis@email.com (newbie) wrote:

>Dear all.
>
>My server running smooth at normally, however, when the connections
>more than 300 , the innd service will automically stop. I need to
>restart the innd service everytime. And in the news.err log, it
>appears a message
>
>"could not open /var/spool/news/overview/g/s/test.IDX: Too many open
>files in system"
>
>
>Here enclosed my innd.conf file.My linux version is RedHat7.2 with
>inn-2.3.2-5
>PC config : P4 2.6 Ghz with 1GB DDRram
You;:
maxartsize:             5000000
maxconnections:         5000


Me:
maxartsize:             1000000
		  ^^^^^^^^
maxconnections:         50   
		      ^^^^^
Re: Newbie Innd Questions
#68371
Author: Russ Allbery
Date: Sun, 29 Feb 2004 19:42
32 lines
2431 bytes
newbie <alvis@email.com> writes:

> My server running smooth at normally, however, when the connections more
> than 300 , the innd service will automically stop. I need to restart the
> innd service everytime. And in the news.err log, it appears a message

> "could not open /var/spool/news/overview/g/s/test.IDX: Too many open
> files in system"

> Here enclosed my innd.conf file.My linux version is RedHat7.2 with
> inn-2.3.2-5

> maxconnections:         5000

Processes have a limit on the maximum number of open file descriptors that
they can handle.  See the "File Descriptor Limits" section in INSTALL for
more details on the various effects.

Note that this limit is not for *reader* connections, which are
essentially limited only by your virtual memory and the number of nnrpd
processes you can spawn.  It's for connections from other news servers,
and 5000 is extremely high for that.

innstat may be able to tell you who is eating up your file descriptors,
and you may need to limit the incoming connections or increase the file
descriptor limit for the innd process.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Newbie Innd Questions
#68372
Author: newbie
Date: Mon, 01 Mar 2004 07:09
33 lines
2500 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<8765dp7jw4.fsf@windlord.stanford.edu>...
> newbie <alvis@email.com> writes:
> 
> > My server running smooth at normally, however, when the connections more
> > than 300 , the innd service will automically stop. I need to restart the
> > innd service everytime. And in the news.err log, it appears a message
>  
> > "could not open /var/spool/news/overview/g/s/test.IDX: Too many open
> > files in system"
>  
> > Here enclosed my innd.conf file.My linux version is RedHat7.2 with
> > inn-2.3.2-5
>  
> > maxconnections:         5000
> 
> Processes have a limit on the maximum number of open file descriptors that
> they can handle.  See the "File Descriptor Limits" section in INSTALL for
> more details on the various effects.
> 
> Note that this limit is not for *reader* connections, which are
> essentially limited only by your virtual memory and the number of nnrpd
> processes you can spawn.  It's for connections from other news servers,
> and 5000 is extremely high for that.
> 
> innstat may be able to tell you who is eating up your file descriptors,
> and you may need to limit the incoming connections or increase the file
> descriptor limit for the innd process.


is that maxconnections is not use for control the "readers"
connections?
this mean allow more than 50 people to connect to my server even i set
maxconntions = 50??
Re: Newbie Innd Questions
#68375
Author: Russ Allbery
Date: Mon, 01 Mar 2004 18:46
17 lines
1674 bytes
newbie <alvis@email.com> writes:

> is that maxconnections is not use for control the "readers"
> connections?

Right.

> this mean allow more than 50 people to connect to my server even i set
> maxconntions = 50??

Right.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Newbie Innd Questions
#68379
Author: newbie
Date: Tue, 02 Mar 2004 00:00
16 lines
1610 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87fzcs2ync.fsf@windlord.stanford.edu>...
> newbie <alvis@email.com> writes:
> 
> > is that maxconnections is not use for control the "readers"
> > connections?
> 
> Right.
> 
> > this mean allow more than 50 people to connect to my server even i set
> > maxconntions = 50??
> 
> Right.


Russ ,Thank you so mucccccccch 
one more question, any recommanded tools for statistic use?
Re: Newbie Innd Questions
#68380
Author: Russ Allbery
Date: Tue, 02 Mar 2004 00:14
12 lines
1720 bytes
newbie <alvis@email.com> writes:

> Russ ,Thank you so mucccccccch 
> one more question, any recommanded tools for statistic use?

INN comes with innreport, which gives basic statistics and log analysis.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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