Thread View: news.software.nntp
11 messages
11 total messages
Started by Rich Salz
Sat, 01 Jul 1989 15:48
Minutes of NNTP-Managers BOF at Usenix
Author: Rich Salz
Date: Sat, 01 Jul 1989 15:48
Date: Sat, 01 Jul 1989 15:48
102 lines
6368 bytes
6368 bytes
Here's the overdue minutes of the NNTP-Managers BOF at Usenix. I don't think I missed anything, if so let me know. A lot more showed up than I first expected -- around 40 or 50, rather than 20 or 30. A possible drawback to this was that there were too many people for us to go around and introduce ourselves; a definite positive result was that I didn't have to use too many of my prepared jokes. At the beginning of the meeting I passed out copies of a map that I made based on the "Distribution: inet" sendsys I did. If you want a copy, you can pick it up from uunet.uu.net:~/uumap/m.inet-sys.ps.Z. If someone is really interested in the programs and raw data, let me know. I also have hardcopy maps of many of the regionals. This will involve photocopying and postage, so you better be VERY interested (or have a good bribe :-) if you want those. The most interesting fact from my map is that there are a lot of cross-country links! As expected, most of the talk was non-directed discussion about whether or not we should organize the NNTP feeds, and whether we need or want more structure at all. This question can be broken down into two levels, the NSFNet backbone level and the regional network level. The regionals are clearly on their own, and the only interest or concern is news flow over the NSFNet, and similar government-sponsored (your tax dollars at work) networks. The discussion was mostly anecdotal. There was some talk about optimizing the NNTP protocol for fewer TCP packets. A couple of folks seemed to have memorized PING round-trip times (the modern-day equivalent of knowing the statistics on the back of baseball cards, perhaps). On the political front, there are two major arguments: we should use the network as much as possible, "flooding" it with redundant connectivity in order to show everyone that the networks are being used; or, we should try to keep a relatively low profile so that "they" don't come and kick us off. Various guesses and conjectures were made as to the amount of traffic NNTP actually takes up. One set of measurements (claimed to have come from Peter Honeyman) said it was #5, after SMTP, Telnet, Name Service, and FTP. Someone later told me that the Steve Wolff (head of NSFNet) has NNTP at 15% of the traffic along the NSFNet backbone, and they have no problem with that. (I'm not naming the someone because I didn't ask their permission to quote them directly in this public forum.) In short, everyone pretty much agreed that the current anarchistic hodge-podge is fine technically and politically. At some point this may change, and we might have to become organized. The next topic was running NNTPXMIT. Most people run it every 30 to 60 minutes, a few run it every one to 10 minutes, and Scott Bradner at Harvard runs it continuously. **Care to post your script that does this, Scott?** After pleading from Erik Fair, most people agreed to run it more often. **Please run NNTPXMIT at least every 10 minutes.** A couple of people are working on newer and faster variants, which are in various stages of testing. The next topic was transferring "biz" and other commercially-oriented services. Before the meeting I spoke to Jane Caviness at NSF. She works for Steve Wolff and is the Program Director of NSFNet. She said that the NSF is working on a usage policy, and that it's been in the hands of the lawyers for some time, and is expected any week now. I later heard that it's been "any week" for several months now. The policy will basically state that most advertising is not appropriate, and that commercial use is only valid when it is supporting government-funded R&D. For example, unsolicited "sales ads" are not allowed, but an email reply from a sales office to a general RFP is fine. The regional nets make their own rules, of course, but are responsible for making sure that nothing inappropriate leaks out to the NSFNet backbone. Consequently, and because it's in general easier, most regionals have said that they will be adopting the NSFNet policies. The "usage policy" questions have also been debated a great deal among FARNet, the federal network organization. [If what William Wulf said during his keynote is correct, than all of the national networks will be merged into one national R&D network in the next five to 10 years. This would probably mean we'll all be operating under NSFNet rules.] As I said at the meeting, my impression is that the rules are gonna get more strict. **Regardless, it is probably not a good idea to carry "biz.all" over the NSFNet backbone.** There was lots of dicussion about Clarinet and the In Moderation Network. Templeton has a proposal in before Wolff (not Wulf:-) that would formally okay the transfer of his stuff over NSFNet. Until then, it seems to be that as long as a site requests such a feed, it's for their work, so it is probably okay. The statement that as long as it is in direct support of an organization's research work it's okay, might have interesting implications for the UUCP maps Nothing is certain until NSF policy is published. There wasn't much interest and discussion in NNTP on BITNET, VMS, or other strange creatures. A couple of people wanted to know NNTP flow with UUNET. Several people feed it, but only one or two feeds come out. Oh yeah: I also put out a list for people to get added to the nntp-managers mailing list. I sent the names along to the maintainer. I liked the BOF, thought it went pretty well, and got similar feedback. I'll probably offer to run one next June, too. /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.
Re: Minutes of NNTP-Managers BOF at Usenix
Author: Tim Russell
Date: Mon, 03 Jul 1989 03:45
Date: Mon, 03 Jul 1989 03:45
11 lines
1053 bytes
1053 bytes
>Oh yeah: I also put out a list for people to get added to the nntp-managers >mailing list. I sent the names along to the maintainer. Who would I mail to to get on this list? Sounds useful. Thanks! -- ---------------------------------+-------------------------------------------- Tim Russell, Computer Operator | Internet: russell@zeus.unl.edu Campus Computing | Bitnet: russell@unoma1 University of Nebraska at Omaha | UUCP: uunet!zeus.unl.edu!russell
Re: Minutes ... (nntpxmit)
Author: Brain in Neutral
Date: Mon, 03 Jul 1989 14:42
Date: Mon, 03 Jul 1989 14:42
13 lines
1205 bytes
1205 bytes
From article <1884@papaya.bbn.com>, by rsalz@bbn.com (Rich Salz): > The next topic was running NNTPXMIT. Most people run it every 30 to 60 > minutes, a few run it every one to 10 minutes, and Scott Bradner at > Harvard runs it continuously. **Care to post your script that does this, > Scott?** After pleading from Erik Fair, most people agreed to run it more > often. **Please run NNTPXMIT at least every 10 minutes.** What is the reason for this? To reduce average propagation time? To increase size of already-large log files? Paul DuBois dubois@primate.wisc.edu
Re: Minutes ... (nntpxmit)
Author: Bill Wisner
Date: Mon, 03 Jul 1989 18:26
Date: Mon, 03 Jul 1989 18:26
15 lines
1376 bytes
1376 bytes
bin@primate.wisc.edu (Brain in Neutral) writes: >What is the reason for this? To reduce average propagation time? To >increase size of already-large log files? To reduce average propagation time. Unless you're running on floppy disks or never prune your log files, their size should not be an issue. When Ed Vielmetti was at the U of Michigan's computing center, he had mailrus and sharkey running nntpxmit from cron every minute. This may or may not still be the case; Ed's now with UM's math department. Bill Wisner wisner@mica.berkeley.edu ucbvax!mica!wisner I'm not the NRA either.
Re: Minutes ... (nntpxmit)
Author: Erik E. Fair
Date: Mon, 03 Jul 1989 23:59
Date: Mon, 03 Jul 1989 23:59
24 lines
1907 bytes
1907 bytes
Running nntpsend often is entirely an exercise in making news flow more quickly. If everyone is running with what we recommended in the original NNTP release (every 10 minutes), then it takes an hour to go six hops. I'd like to see it take six minutes (i.e. run nntpsend every minute). If you read Rick Adams' UUNET statistics posted in news.lists every two weeks, I'm looking to push the initial wave of traffic to the first hour, and spread it out more evenly. This isn't a strictly statistical goal either; netnews is fast becoming the computer conferecing system of the Internet, but it is still not as fast as Internet mail. Fortunately, with your help, this can be fixed. Currently, ucbvax and apple are both running 1 minute nntpsend (I just took that first field in the /usr/lib/crontab file and turned it into a star "*"). I know that other backbone sites are running faster than 10 minutes too. It hasn't put much of a load on the systems because we're moving just as many bytes as before - the load is just spread out more evenly, rather than spiking every 10 minutes... Erik E. Fair apple!fair fair@apple.com P.S. let's move the discussion out of comp.org.usenix to news.software.nntp.
Re: Minutes ... (nntpxmit)
Author: Ed Anselmo
Date: Tue, 04 Jul 1989 01:05
Date: Tue, 04 Jul 1989 01:05
10 lines
1046 bytes
1046 bytes
>When Ed Vielmetti was at the U of Michigan's computing center, he had mailrus >and sharkey running nntpxmit from cron every minute. This may or may not >still be the case; Ed's now with UM's math department. This is no longer the case: Looks like mailrus is running nntpxmit every 30 min.; sharkey once an hour. -- Ed Anselmo (ed@cardiology.ummc.umich.edu, mailrus!clip!ed)
Re: Minutes ... (nntpxmit)
Author: Edward Vielmetti
Date: Tue, 04 Jul 1989 02:04
Date: Tue, 04 Jul 1989 02:04
27 lines
2143 bytes
2143 bytes
In article <1128@mailrus.cc.umich.edu> ed@cardiology.ummc.umich.edu (Ed Anselmo) writes: >>When Ed Vielmetti was at the U of Michigan's computing center, he had mailrus >>and sharkey running nntpxmit from cron every minute. This may or may not >>still be the case; Ed's now with UM's math department. > >This is no longer the case: > >Looks like mailrus is running nntpxmit every 30 min.; sharkey once an hour. > > -- Ed Anselmo (ed@cardiology.ummc.umich.edu, mailrus!clip!ed) Running every minute out of cron, especially if you have a lot of incoming feeds, means that there's going to be a lot of activity if you go down for any amount of time and come back up again. Imagine going down for 4 hours, then getting 4 hour's feed from ten sites simultaneously in the first few minutes of going back up. Tends to push up the load average a bit, and if there's anything wrong with the workings of other important software on the system (i.e. mail) that can make it difficult to address those problems. I had thought to put something in rc.local to delay accepting news from most sites for say 30 minutes after boot; you'd have two nntp_access files, and boot with a real restrictive one which only allows a few favorite close-by sites to feed you, which you'd replace with the real one after things quieted down sufficiently. --Ed
Re: Minutes ... (nntpxmit)
Author: Brian Kantor
Date: Tue, 04 Jul 1989 12:38
Date: Tue, 04 Jul 1989 12:38
124 lines
3865 bytes
3865 bytes
I've shipped a series of patches off to Stan Barber that permit you to
limit the number of transfer-mode NNTPd processes running on a system
based on load average. In particular, nntpd checks two load average
figures and will disallow startup or discontinue transfers if the load
average climbs above the appropriate limits.
The patches also include locking to prevent incoming transfers whilst
'expire' is running; this is done because there can be no duplicate
article detection when incoming news is spooled into .rnews and with
multiple feeds that's a real waste of resources.
Stan tells me he'll get those changes out when he has time. Please be
patient.
Below I've included our nntpsend which runs continously; it has load
limiting stuff in it too. Adjust the load limits and sleeps to suit
your environment. (UCSD is a poor tired vax/750 and thus not much
faster than an IBM-PC; our primary task is mail so news gets shut off
when the load average impacts mail flow.) This is started hourly from
crontab in case it exits; shell locking prevents more than one from
running at a time.
Enjoy.
- Brian
---
#
# What we have here is a csh script for sending netnews to NNTP sites.
#
set stoplim=10
set slowlim=6
set batchdir=/usr/spool/batch libdir=/usr/lib/news
set path=( $libdir /usr/ucb /usr/bin /bin $path )
#
# Go to where the action is
#
cd $batchdir
umask 022
set pname=$0
set pname=$pname:t
#
# Make sure only one of us is running
#
if { shlock -p $$ -f NNTPSEND } then
echo ${pname}: "[$$]" started `date`
else
echo ${pname}: "[$$]" already running "[`cat NNTPSEND`]"
exit 0
endif
while ( 1 )
set loadavg=( `uptime` )
# check the 15-minute load average
if ( $loadavg[$#loadavg]:r > $stoplim ) then
echo "load avg too high; quitting"
echo $loadavg
rm NNTPSEND
exit 1
endif
set sentsome=0
echo ${pname}: "[$$]" begin cycle `date`
foreach host ( \
rutgers.edu \
ucbvax.berkeley.edu \
tut.cis.ohio-state.edu \
)
# check the 5-minute load average
set loadavg=( `uptime` )
@ n = $#loadavg - 2
while ( "$loadavg[$n]:r" > $slowlim )
sleep 600
# check the 5-minute load average
set loadavg=( `uptime` )
@ n = $#loadavg - 2
end
set lock=NNTP_LOCK.${host}
set tmp=${host}.tmp
set send=${host}.nntp
if { shlock -p $$ -f ${lock} } then
if ( -e ${tmp} ) then
cat ${tmp} >> ${send}
rm ${tmp}
endif
if ( -e ${host} ) then
if ( -e ${send} ) then
mv ${host} ${tmp}
else
mv ${host} ${send}
endif
endif
if ( -e ${send} ) then
( echo ${pname}: "[$$]" begin ${host}:${send};\
time nntpxmit ${host}:${send};\
rm -f ${lock};\
echo ${pname}: "[$$]" end ${host}) &
set sentsome=1
else
rm -f ${lock}
endif
else
echo ${pname}: "[$$]" ${host} lock by "[`cat ${lock}`]"
endif
# let the load level a bit
sleep 30
end
echo ${pname}: "[$$]" end cycle `date`
# if there wasn't any news to send this time round,
# hibernate for a while
if (${sentsome} == 0) then
sleep 300
endif
end
Re: Minutes ... (nntpxmit)
Author: Brain in Neutral
Date: Wed, 05 Jul 1989 14:18
Date: Wed, 05 Jul 1989 14:18
29 lines
1849 bytes
1849 bytes
From article <714@stag.math.lsa.umich.edu>, by emv@math.lsa.umich.edu (Edward Vielmetti): | Running every minute out of cron, especially if you have a lot of incoming | feeds, means that there's going to be a lot of activity if you go down for | any amount of time and come back up again. Imagine going down for 4 hours, | then getting 4 hour's feed from ten sites simultaneously in the first few | minutes of going back up. Tends to push up the load average a bit, and if | there's anything wrong with the workings of other important software on | the system (i.e. mail) that can make it difficult to address those problems. | | I had thought to put something in rc.local to delay accepting news from most | sites for say 30 minutes after boot; you'd have two nntp_access files, and | boot with a real restrictive one which only allows a few favorite close-by | sites to feed you, which you'd replace with the real one after things quieted | down sufficiently. Before booting: mv /etc/nntpd /etc/nntpd~ After you've been up for a bit: mv /etc/nntpd~ /etc/nntpd Simple, effective. It doesn't prevent the load average hike from happening, but does at least delay it until you want it. Paul DuBois dubois@primate.wisc.edu
Re: Minutes ... (nntpxmit)
Author: Craig Leres
Date: Fri, 07 Jul 1989 02:03
Date: Fri, 07 Jul 1989 02:03
32 lines
2161 bytes
2161 bytes
Erik E. Fair writes: > quickly. If everyone is running with what we recommended in the > original NNTP release (every 10 minutes), then it takes an hour to go > six hops. I'd like to see it take six minutes (i.e. run nntpsend every If I run nntpsend every 10 minutes, I would expect it to take 5 minutes (on average) for me to propagate a new article. I would also expect it to take 30 minutes (on average) to travel six hops. I suppose my posting has the potential for starting a minor probability and statistics war (like the one on engine counting in comp.risks) so perhaps I should state my assumptions in an attempt to cut out the simpletons. My first assumption is that not everyone clocks are synchronized. A small sampling of internet hosts at several sites shows a spread of about plus or minus 3 minutes. My other assumption is that not everyone who runs nntpsend with a 10 minute interval starts on the hour. Even if you (stupidly) assume that every single nntp peer's clock is synchronized, I don't see how you can assume that they all start their cycles on the hour (my own system starts at 3 minutes past the hour or 7 minutes before the hour, depending on how you look at it). Note that even if every host starts their cycle on the hour, the un-synchronized clock syndrome will make it take almost 10 minutes for an article to travel in one direction and almost 0 minutes for it to travel in the other direction. This averages out to 5 minutes. Craig
Re: Minutes of NNTP-Managers BOF at Usenix
Author: Tom Jordahl
Date: Tue, 18 Jul 1989 18:18
Date: Tue, 18 Jul 1989 18:18
18 lines
1513 bytes
1513 bytes
In article <1021@unocss.UUCP> fritz@unocss.UUCP (Tim Russell) writes:
>>Oh yeah: I also put out a list for people to get added to the nntp-managers
>>mailing list. I sent the names along to the maintainer.
>
>Who would I mail to to get on this list? Sounds useful. Thanks!
I too would like to be on this list. Who do I talk to?
Thanks x 2
--
-->Tom Jordahl<--
-----------------------------------------------------------------------------
Data General Corp. Internet:tom@wave4.dg.com
Unix Development Westboro tom@dg-rtp.dg.com
Westboro, MA UUCP: ..!mcnc!rti!xyzzy!wave4!tom
"... until then, any action will be like trying to herd cats." -Gene Spafford
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