Article View: news.software.nntp
Article #47949Re: Control for maximum NNTP connection
From: Anonymous Meoward
Date: Fri, 18 Aug 2000 00:00
Date: Fri, 18 Aug 2000 00:00
46 lines
2772 bytes
2772 bytes
On 2544 Sep 1993, Arthur S.L. Hsieh wrote: > This is what I got: > Aug 17 00:14:58 news innd: SERVER cant exec in > /usr/local/news/bin/nnrpd Not enough space This is your error. Someone who has seen this (I haven't) will have to explain the cause of it. (GET MORE SPACE!!!) > The output from `ctlinnd mode' is > Parameters c 14 i 50 (0) l 1000000 o 51 t 300 H 2 T 60 X 0 normal > > The output always gives ... i 50 (0) ... and I've never seen any > changes in value inside the bracket. That is always zero. So you have no incoming feeds. And if you did, you could get no more than 50, after which anything following would be given a `400 too many connections' rejection message > Although I've set the maxconnections to 50, I can see the number of > nnrpd processes to be well over 100. I feel the paramater is > completely ineffective. maxconnections has nothing to do with nnrpd. maxconnections only has to do with your feedsites, and there it will work fine. What you need to do is to start nnrpd in a way that you can only fork a limited number of them -- if 100 readers is enough to topple your machine and you can't upgrade things to support more and you're actually seeing 100+ readers and not some other bug that results in a lot of leftover nnrpd processes, then you might want to start nnrpd not from innd (where you saw the error trying to exec), but from, say, tcpswerver, where the number of nnrpd processes can be limited... # /news/bin/tcpserver -R -c100 -g100 -u101 -x/news/bin/rules.cdb your.hostname 119 /news/bin/nnrpd (tweak -c -- the number of connections -- to keep things alive, adjust the other parameters to match your particular setup) mmmmmmmmeow
Technical Details
Message-ID:
<Pine.BSF.4.21.0008182136340.11639-100000@vax.chrillesen.dk>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!not-for-mailReferences:
<ufk8dmr0m3.fsf@pc1.school.net.hk> <Pine.BSF.4.21.0008141950390.21502-100000@vax.chrillesen.dk> <ufbsyqwtbz.fsf@pc1.school.net.hk>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.4.21.0008182136340.11639-100000@vax.chrillesen.dk> Subject: Re: Control for maximum NNTP connection Date: Fri, 18 Aug 2000 00:00:00 +0000 From: Anonymous Meoward <meower@free-N0RP.netSCUM.dk> References: <ufk8dmr0m3.fsf@pc1.school.net.hk> <Pine.BSF.4.21.0008141950390.21502-100000@vax.chrillesen.dk> <ufbsyqwtbz.fsf@pc1.school.net.hk> 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!not-for-mail X-Deja-AN: 659849299 X-Sender: barry@vax.chrillesen.dk Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: Department of Written Abuse <abuse@news.inet.tele.dk> X-Trace: news.inet.tele.dk 966628055 899 193.88.12.35 (Fri 2544 September 1993 19:47:35 GMT) Organization: Tele Danmark Internet Cyberspace Launchpad Mime-Version: 1.0 NNTP-Posting-Date: Fri 2544 September 1993 19:47:35 GMT Newsgroups: news.software.nntp