Article View: alt.free.newsservers
Article #1970Re: Is testnews.execpc.com no longer working?
From: Joe Greco
Date: Wed, 02 Feb 2000 00:00
Date: Wed, 02 Feb 2000 00:00
98 lines
5857 bytes
5857 bytes
In alt.free.newsservers article <8750d2$3d012$1@fu-berlin.de>, Brian Kraft <bhkraft@gj.net> wrote: :Joe Greco wrote: :>The machine is constantly pegged at its ultimate limit for simultaneous :>readers. Once it passes that, it begins queueing inbound connections for :>the first available slot (or it ignores them, if the queue is too big). : :By ignores them, does that mean an immediate logoff, No, it means that the behaviour of the system's TCP stack is to ignore further pending connections when the limit previously set via listen() is reached. It will behave as though it didn't receive your TCP session begin packet. :and if those full :queue logoffs necessarily become too frequent, does that begin to :affect testnews's performance in any way? No. Not in any substantial way (I suppose if there were thousands per second, the matter might be different). :Last I heard, simultaneous readers was 2000, but how many connections :are allowed in the queue? I lowered it back to 1200. The 2000 was a stress test, and the overview I/O system couldn't keep up (I expected that to happen even at 1200, but it didn't). The Diablo source actually asks the system for a 256 entry listen queue, but I'm not sure what the system actually grants. :My connections are seldom ignored, there always seems to be room in :the queue. I think what happens is this - at any given time, the :majority of reader clients in the queue have their connection timeout :values left at the default setting; a couple of minutes for (Free) :Agent and Outlook Express, the most popular newsreaders. Then many of :those default clients timeout, and other clients that have their :timeout values extended from the default settings are the ones that :connect. So it's no coincidence that the waiting time in the queue is :usually slightly longer than the average reader client's default :connection timeout value. Maybe, maybe not. A lot of clients just sit idle. I really should put in session time limits. And idle timeouts. Bah. The system normally churns out around 30 megabits (yeah, most of a T3) at full 1200-user load, which comes out to about 2.3K/sec/client. Since the client speed cap is more like 8K/sec, I'd estimate that a quarter of the connections are idle - even taking into account that many clients _are_ behind 56k modems. :Now the closing connection banner looks like this: :|205 Transferred [x] bytes in [x] articles, [x] groups. Disconnecting. :Does that mean that there is a mechanism, or will be one, for capping :the bytes downloaded in some way, per connection or per IP address? I suppose one could. I was more interested in getting actual traffic statistics that would be useful from a logging point of view, and it happened to be useful for debugging to actually provide a few of the gathered numbers at the 205 banner, so that I could verify via telnet that it was working right. :Also I noticed that binaries are filtered out from non-binary groups :overview (xover) databases, but the articles are still stored without :article numbers, and are retrievable by message ID's (unusual, but :testnews is an unusual news server). It all has to do with expiration discipline. On the backend, binaries are stored on a machine with real big disks, and text is stored on a machine with less big disks. The text spool stores articles for about 180(!) days, although it's only a fraction the size of the binaries spool server (~a week). Overview expiration is specified by group, and there aren't many options there since the overview databases are the only thing that the reader machine has local access to. The spool servers are all remote. Now, the _problem_ is that if I put a binary post into a non-binary group, using the 80 day expiration for a group like alt.mumble, it'll still be listed in overview as available after 7 days, although it'll have been expired off the binaries spool server... So what we do to fix this is to expire all of "alt.binaries.*" in 7 days, and everything else in 80, and filter out misplaced binaries before they hit the reader. I lose text articles in alt.binaries that are older than 7 days, and also binary articles outside of alt.binaries that are younger than 8 days, but that's acceptable in the grand scheme of things. People should really learn to put things where they belong. The other alternative would be to expire _everything_ in 7 days, across the board, but I've got customers who like being able to go back a ways and read stuff. That doesn't mean that I haven't planned for the future availability of such an alternative... I assign message numbers before filtering, so there are sometimes "gaps" in text groups where the binaries might have been. :-) Now, an obvious side-effect of this is that the spool servers do in fact have a view of _all_ of Usenet, going back at least 7 days, if not 180, and retrievals by Message-ID will work. ... JG
Technical Details
Message-ID:
<3897e6c2$0$1400@news.execpc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.mbox.zip!not-for-mailReferences:
<MPG.12f654c66a59b0ef989680@news.pacbell.net> <38959b91$0$86547@news.execpc.com> <8750d2$3d012$1@fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <3897e6c2$0$1400@news.execpc.com> Subject: Re: Is testnews.execpc.com no longer working? Date: Wed, 02 Feb 2000 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <MPG.12f654c66a59b0ef989680@news.pacbell.net> <38959b91$0$86547@news.execpc.com> <8750d2$3d012$1@fu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.mbox.zip!not-for-mail X-Deja-AN: 580708977 Sender: jgreco@earth.execpc.com X-Trace: Tl\okXWcmLWI5[332>a9Y[bfNiaEHUgJWRYcgIRLSUE]?8<L<oZIX6ZVjlkAj<j]]S21Vkhja922Vl=jlCRBl;3S4dTgmFn@ShW Organization: sol.net Network Services - Milwaukee, WI Newsgroups: alt.free.newsservers X-Complaints-To: abuse@execpc.com