Thread View: news.software.nntp
9 messages
9 total messages
Started by Aaron Holtz
Fri, 17 Oct 1997 00:00
NEWNEWS and SLAVE commands under innd 1.5.1
Author: Aaron Holtz
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
32 lines
1972 bytes
1972 bytes
Folks: I'm trying to determine whether to allow the NEWNEWS command on my server. The couple of tuning FAQ's I've read said to disable this. I now have someone who needs to use this command - all I could come up with was the quote from the FAQ that said that do not enable this as it really sucks up system resources and can only hurt the server.... His response was - it will if you don't allow the SLAVE command. Not having come up against this before, can anyone describe the pros and cons for enabling the NEWNEWS command? Innd 1.5.1sec2 is running on a sparc 20 with 256MB of RAM running Solaris 2.5.1 It has a customer base of about 10,000 users, but I've seen only about 50 to 75 simultaneous connections at a time. I'd like to have some type of intelligent response to him as to why I do/don't want to allow the NEWNEWS command and/or the SLAVE command. I've read RFC's and other docs, but nothing really sheds light on what it could do to a system if it is supported and running. Any input/thoughts are greatly appreciated. --Aaron ------------------------------------------------------------------------- Aaron Holtz First Network Group "The First Name in Internetworking" Manager, UNIX Systems Admin Email: aholtz@stockcar.network1.net "Those that do not accept Unix are doomed to reproduce it" -------------------------------------------------------------------------
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Nate Shockey
Date: Sat, 18 Oct 1997 00:00
Date: Sat, 18 Oct 1997 00:00
58 lines
3623 bytes
3623 bytes
Aaron Holtz wrote:
> Folks:
>
> I'm trying to determine whether to allow the NEWNEWS command on my
> server. The couple of tuning FAQ's I've read said to disable this. I
> now have someone who needs to use this command - all I could come up with
> was the quote from the FAQ that said that do not enable this as it really
> sucks up system resources and can only hurt the server.... His response
> was - it will if you don't allow the SLAVE command. Not having come up
> against this before, can anyone describe the pros and cons for enabling
> the NEWNEWS command? Innd 1.5.1sec2 is running on a sparc 20 with 256MB
> of RAM running Solaris 2.5.1 It has a customer base of about 10,000
> users, but I've seen only about 50 to 75 simultaneous connections at a
> time. I'd like to have some type of intelligent response to him as to
> why I do/don't want to allow the NEWNEWS command and/or the SLAVE
> command. I've read RFC's and other docs, but nothing really sheds
> light on what it could do to a system if it is supported and running. Any
> input/thoughts are greatly appreciated.
All I have to say is that NEWNEWS is bad news. NEWNEWS is an archaic
command that puts all of the "clients" work off onto the server. You are
very correct, it sucks up system resources and can only hurt the server.
Just so you'll know, I am the News Administrator for FlashNet. We have over
150,000 users, run news on an E4000 with 1GB of RAM. It is completely likely
for us to have over 1000 readers at once. With 1000 readers, the load
average on the box stays around 1.5. Yep, that's right, 1.5. With "One
Solitary User" using the NEWNEWS command, I have seen the load average
skyrocket to 50 or more, and bring the system to a screeching, sobering
halt. I believe that this is not typical, and indeed, was probably the
result of a malicious user who new the side effects of the NEWNEWS command.
However, I have since completely DISABLED NEWNEWS. I have tried every
possible option to keep it, and I can't seem to find one that works
effectively. If someone else out there has a better solution, feel free to
follow up.
Do yourself a favor, disable NEWNEWS. Tell your user to do HIMSELF a
favor and get a new NewsReader. The NEWNEWS command is old, and is not very
common anymore.
> --Aaron
>
> -------------------------------------------------------------------------
> Aaron Holtz
> First Network Group "The First Name in Internetworking"
> Manager, UNIX Systems Admin
> Email: aholtz@stockcar.network1.net
> "Those that do not accept Unix are doomed to reproduce it"
> -------------------------------------------------------------------------
____ _______ __________________
Nate Shockey underdog@flash.net
News Administrator FlashNet Communications
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Ron Echeverri
Date: Mon, 20 Oct 1997 00:00
Date: Mon, 20 Oct 1997 00:00
19 lines
1331 bytes
1331 bytes
In article <yy3hgadl612.fsf@velo.pp.vix.com>, James Brister <brister@velo.pp.vix.com> wrote: >The SLAVE command has never been implemented in INN. A good sucking feed >doesn't need NEWNEWS. Most sites disable it for good reason. I'm now waiting for Ade to pop in and mention how we're all fools for not fixing NEWNEWS and that all we need to do is "lateral thinking", but will not actually provide a patch or otherwise tangible fix for the problem. rone -- Ron Echeverri "What, me pithy?" +-+ Systems/Usenet Administration Mountain View ->b | Best Internet Communications, Inc. \ \ <rone+sig@best.net> <URL:http://www.ennui.org/~rone/> \_|
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Dan Foster
Date: Mon, 20 Oct 1997 00:00
Date: Mon, 20 Oct 1997 00:00
40 lines
2493 bytes
2493 bytes
In article <62g9h2$50k$1@bofh.noc.best.net>, Ron Echeverri <rone@bofh.noc.best.net> wrote: >In article <yy3hgadl612.fsf@velo.pp.vix.com>, >James Brister <brister@velo.pp.vix.com> wrote: >>The SLAVE command has never been implemented in INN. A good sucking feed >>doesn't need NEWNEWS. Most sites disable it for good reason. > >I'm now waiting for Ade to pop in and mention how we're all fools for >not fixing NEWNEWS and that all we need to do is "lateral thinking", >but will not actually provide a patch or otherwise tangible fix for >the problem. Heh. I know it might rub some folks the wrong way, but IMO, he's...you know... allowed to do that. He has no obligation to make his work public - I see other admins doing that for various locally developed patches, and nobody's complaining about *them*. It is possible that he may be doing this since who knows, Demon might consider such a patch 'proprietary' considering their news service is a solid part of their service. To each, his/her own. At any rate, I *do* appreciate that Ade gave just enough information to demonstrate that it *is* possible to handle that well if INN is patched to implement it better. I just haven't gotten around to item #77 on my to-do list to try and develop a patch for that over here, but if/when I do, I'll let other folks know. Ron, I know you're a reasonable guy and all that, but honestly...you know, if Ade doesn't want to give a patch for it, you *could* always try your hand at making one...esp. since he did (IMO) give just enough details to give one a good idea of the changes needed. Am I missing something here? :) That said, back to lurking. :) -Dan Foster Frontier Internet Internet: dsf@frontiernet.net
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: James Brister
Date: Mon, 20 Oct 1997 00:00
Date: Mon, 20 Oct 1997 00:00
19 lines
1502 bytes
1502 bytes
Aaron Holtz <aholtz@network1.net> writes: > I'm trying to determine whether to allow the NEWNEWS command on my > server. The couple of tuning FAQ's I've read said to disable this. I > now have someone who needs to use this command - all I could come up with > was the quote from the FAQ that said that do not enable this as it really > sucks up system resources and can only hurt the server.... His response > was - it will if you don't allow the SLAVE command. The SLAVE command has never been implemented in INN. A good sucking feed doesn't need NEWNEWS. Most sites disable it for good reason. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Bill Stewart-Cole
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
68 lines
4162 bytes
4162 bytes
In article <63brmi$u4@camel20.mindspring.com>, no@nospam.com (Harmon V. Bryner) wrote: > On Sat, 18 Oct 1997 11:25:09 -0500, Nate Shockey <underdog@flash.net> > wrote: > > > All I have to say is that NEWNEWS is bad news. NEWNEWS is an archaic > >command that puts all of the "clients" work off onto the server. You are > >very correct, it sucks up system resources and can only hurt the server. > >Just so you'll know, I am the News Administrator for FlashNet. We have over > >150,000 users, run news on an E4000 with 1GB of RAM. It is completely likely > >for us to have over 1000 readers at once. With 1000 readers, the load > >average on the box stays around 1.5. Yep, that's right, 1.5. With "One > >Solitary User" using the NEWNEWS command, I have seen the load average > >skyrocket to 50 or more, and bring the system to a screeching, sobering > >halt. I believe that this is not typical, and indeed, was probably the > >result of a malicious user who new the side effects of the NEWNEWS command. > >However, I have since completely DISABLED NEWNEWS. I have tried every > >possible option to keep it, and I can't seem to find one that works > >effectively. If someone else out there has a better solution, feel free to > >follow up. > > Do yourself a favor, disable NEWNEWS. Tell your user to do HIMSELF a > >favor and get a new NewsReader. The NEWNEWS command is old, and is not very > >common anymore. > > > > Hi, > > Pardon my ignorance here, but what is the preferred technique for > client software to get the articles posted to a given group since the > previous time checked? I'm just beginning to write a special purpose > news client for myself, and had assumed from RFC 977 that NEWNEWS was > the appropriate way to do this. Apparently, I am dead wrong. I've > read the "draft Barber" and "Read this before writing a newsreader" > documents, but nothing jumps out at me after reading them again. Typically a newsreader tracks this itself by maintaining a list of newsgroups and the article numbers for that group which have been read. For example, many newsreaders use a common format of the '.newsrc' file used by rn. It is a pure text file with lines like this: news.software.nntp: 1-2056 news.announce.important: 1-2,4,6-22 This lets the newsreader track that the user has read up to article 2056 in news.software.nntp, and has read up to article 22 except for 3 and 5 in news.announce.important. As you can see, this is a little more flexible than just timestamping and using newnews because it can leave articles unread without tying them to when they arrived. A similar amount of information would have to be kept for using newnews, as each newsgroup would require its own timestamp. When you give it a bit of thought, you can see that there really is no need for NEWNEWS except to save a small amount of work on the part of the client, but with significant server impact. Typically the NEWNEWS command itself is not so horrible, as most servers maintain some sort of Message-ID list that is chronological, however the result is thenn a client that is asking for messages by Message-ID, which is a lot harder on most servers than they typical pattern of reading by group and article number. -- Bill Stewart-Cole bill@scconsult.com I'm not spam-blocked because I like playing the hardass net-fascist.
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Andrew Gierth
Date: Sat, 01 Nov 1997 00:00
Date: Sat, 01 Nov 1997 00:00
21 lines
1786 bytes
1786 bytes
>>>>> "Harmon" == Harmon V Bryner <no@nospam.com> writes: Harmon> Eventually, the number would reach the maximum that could be Harmon> represented in a (probably) 32-bit integer (and I'm not sure Harmon> whether it's signed or unsigned). Unless the articles were Harmon> periodically wiped out completely, and the count cleared to Harmon> zero, the count would eventually have to "roll over" to zero, Harmon> and I'd have to deal with this condition. Except the server would probably keel over and die at that point too :-) Seriously, even if a group gets 100000 arts/day, a 32-bit signed integer article number has over 50 years of useful life in it. The only group ever likely to wrap round is control.cancel (currently running at about 150-250k arts/day). -- Andrew.
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Jim Riley
Date: Tue, 04 Nov 1997 00:00
Date: Tue, 04 Nov 1997 00:00
28 lines
2205 bytes
2205 bytes
In article <bill-0111970940350001@sc1.scconsult.com> Bill Stewart-Cole wrote: >Yes, eventually every group may have over 4 billion articles posted to it >since its creation on any specific server. Note that there are few groups >that get over 1,000 posts per day, and none that I can identify that get >more than 10,000 daily. At a rate of 10,000 posts per day, you have >400,000 days from the creation of the group on a specific server before >you have to worry. Even if there was a group now at 100,000 per day, you >would have 40,000 days of usefulness before you must deal with a rollover >in a 32-bit integer. I guarantee you that 40,000 days from the initial >setup time of any currently operating news server,or any server set up in >the future, you will no longer be concerned with whether this client >works. And as many news users know, major server changes that reset >article numbers are much more frequent than every 40,000 days. A more practical concern for someone writing a client is the potential length of lines in its shadow newsrc file. Once upon a time, I used a newsreader that had some some limit (maybe 2000 characters?). This posed a problem when a group when past the 100,000 mark (resulting in a 17% increase in the size of each entry (7 = 6 numeric + 1 comma/hyphen). -- Jim Riley
Re: NEWNEWS and SLAVE commands under innd 1.5.1
Author: Ignatios Souvatzis
Date: Tue, 02 Dec 1997 00:00
Date: Tue, 02 Dec 1997 00:00
17 lines
1089 bytes
1089 bytes
In article <3448E2E5.4A85971D@flash.net>, Nate Shockey <underdog@flash.net> writes: > All I have to say is that NEWNEWS is bad news. NEWNEWS is an archaic > command that puts all of the "clients" work off onto the server. No. All NEWNEWS does is to quickly expose idiotic data structures in innd. However, it might be wise to disable it on innd, as long as you don't have better software. -is
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads