🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68371

Re: Newbie Innd Questions

#68371
From: 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.
Technical Details
Message-ID: <8765dp7jw4.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!nf3.bellglobal.com!snoopy.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <e16041c4.0402290707.29dfd133@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <8765dp7jw4.fsf@windlord.stanford.edu>
Subject: Re: Newbie Innd Questions
Date: Sun, 29 Feb 2004 11:42:03 -0800
From: Russ Allbery <rra@stanford.edu>
References: <e16041c4.0402290707.29dfd133@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!nf3.bellglobal.com!snoopy.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 32
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1078083723 1628 171.64.19.147 (29 Feb 2004 19:42:03
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:XavjgIfKMlQV9vy9XcdfzpetK6o=