🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68622

Re: INND service suddenly stop

#68622
From: Paul Tomblin
Date: Mon, 15 Mar 2004 15:05
27 lines
2176 bytes
In a previous article, "AY" <alvis@email.com> said:
>yes i am really feel confusing on this problem...
>i just know my server will automically stop the innd service when the
>connections more than 300..
>(get the connections amount from ps command " ps -ef |grep news | wc -l
>  )
>and i found the error msg from  news.err log as below,

Oh, that looks like you're hitting the maximum number of files PER SYSTEM
rather than per process.  In that case, 30 seconds with Google found me
this:
http://www.orafaq.com/msgboard/linux/messages/3.htm

>echo 4096 > /proc/sys/kernel/file-max
>echo 12288 > /proc/sys/kernel/inode-max

Put that in one of your start up scripts, like /etc/rc.d/rc.local




-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
Welsh sheep aren't intellectuals. Welsh woodlice look down on them as
utter lusers. Welsh sheep even make students look smart, they're that
daft.  -- Dan Holdsworth
Technical Details
Message-ID: <c34goa$1cl$1@allhats.xcski.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.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!news.kjsl.com!xcski.com!not-for-mail
References: <40552002$1@lungfunggdn.org> <40569ba3$1@lungfunggdn.org> <c34eaf$jr$1@allhats.xcski.com> <4056a213$1@lungfunggdn.org>

Show Full Headers
Complete Article Headers
Message-ID: <c34goa$1cl$1@allhats.xcski.com>
Subject: Re: INND service suddenly stop
Date: Mon, 15 Mar 2004 15:05:46 +0000
From: ptomblin+netnews@xcski.com (Paul Tomblin)
References: <40552002$1@lungfunggdn.org> <40569ba3$1@lungfunggdn.org> <c34eaf$jr$1@allhats.xcski.com> <4056a213$1@lungfunggdn.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!news.kjsl.com!xcski.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario
Lines: 26
Reply-To: ptomblin+replyto@xcski.com (Paul Tomblin)
NNTP-Posting-Host: allhats.xcski.com
X-Trace: allhats.xcski.com 1079363146 1429 192.168.1.1 (15 Mar 2004 15:05:46 GMT)
X-Complaints-To: abuse@xcski.com
NNTP-Posting-Date: Mon, 15 Mar 2004 15:05:46 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: ptomblin@xcski.com (Paul Tomblin)