Article View: news.software.nntp
Article #53189Re: maxconnections question in inn.conf
From: bill davidsen
Date: Mon, 09 Jul 2001 18:53
Date: Mon, 09 Jul 2001 18:53
29 lines
2457 bytes
2457 bytes
In article <yl66d2j04z.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | The best way is to not have innd handle incoming reader connections. Move | innd to a different port (433 is preferred) and have your peers feed you | on that port instead. Then set up nnrpd to run on port 119 via some | mechanism that lets you limit the maximum number of connections, such as | xinetd or tcpserver. I don't know what the original issue was, but I have a problem with the connections per user rather than the number of users. And for performance I would like the limit to be in nnrpd in daemon mode, rather than somewhere else with more overhead. You said the limit belongs in nnrpd (another post) and that's exactly right. Other solutions are likely to be less successful and have more overhead. Of course when we get that mythical threaded nnrpd the limits of total users and streams per user, and rate limiting will all be doable. There's a thought, a per-IP rate limit shared between threads, so opening more sockets would not help you melt the server. They would just all get slower. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "I am lost. I am out looking for myself. If I should come back before I return, please ask me to wait." -seen in a doctor's office
Technical Details
Message-ID:
<9icuj2$8pkg$1@newssvr06-en0.news.prodigy.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsenReferences:
<slrn9khafj.kuj.steffie@wodan.balpol.tudelft.nl> <yl66d2j04z.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <9icuj2$8pkg$1@newssvr06-en0.news.prodigy.com> Subject: Re: maxconnections question in inn.conf Date: Mon, 09 Jul 2001 18:53:22 +0000 From: davidsen@tmr.com (bill davidsen) References: <slrn9khafj.kuj.steffie@wodan.balpol.tudelft.nl> <yl66d2j04z.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen Newsgroups: news.software.nntp Organization: TMR Associates, Schenectady NY Lines: 28 NNTP-Posting-Host: 192.168.199.92 X-Trace: newssvr06-en0.news.prodigy.com 994704802 000 192.168.199.92 (9 Jul 2001 18:53:22 GMT) X-Complaints-To: abuse@prodigy.net NNTP-Posting-Date: Mon, 9 Jul 2001 18:53:22 +0000 (UTC) Originator: davidsen@darkstar.prodigy.com