Article View: news.software.nntp
Article #17934Re: HELP! -- ${SITE}=n file growing out of control
From: Jeff Garzik
Date: Fri, 23 May 1997 00:00
Date: Fri, 23 May 1997 00:00
46 lines
2477 bytes
2477 bytes
news administrator wrote: > I've gone through the FAQ sections and man pages again and again and > even scanned the source code, and unless I'm missing something, the only > reference to this file is in nntpsend, but I can't decipher what it's > use is. In the nntpsend script, the =n file is referred to as the > site's batchfile, but the man pages refer to the file without the =n as > the batch file. Each time nntpsend is called, to send news to all sites in /var/news/etc/nntpsend.ctl, it issues a "flush" command for each site before executing innxmit to actually send the article batch. The flush command takes the current batchfile, for example /var/news/spool/out.going/peerlogic, and appends its contents to the end of the innxmit send file, /var/news/spool/out.going/peerlogic=n. This separation allows innd to manage its batchfile (peerlogic), while nntpsend manages it's own, currently-queued batchfile (peerlogic=n). Just think of it as a work file for nntpsend. As for the growing files problem, you can solve that in nntpsend.ctl. The comments at the top of nntpsend.ctl explain this, but here's a typical entry at my site, with explanation: feed:news.feed.edu:1m:-t300 -T3500 feed - batchfile name in /var/news/spool/out.going news.feed.edu - outgoing hostname 1m - what you're interested in -- truncate batchfile to 1MB if larger -t300 - spend no more than 300 seconds trying to connect -T3500 - spend no more than 3500 seconds total transfer time keep this number reasonable so that the batchfile gets refreshed periodically I also recommend adding the "-a" to innxmit for sites with large batchfiles, so that expired and cancelled articles don't clog up the batchfile, even if a site is down for a significant period of time. -- Jeff Garzik News Administrator, Spinne, Inc. http://www.spinne.com/usenet/
Technical Details
Message-ID:
<3385E92E.758F02E5@spinne.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!not-for-mailReferences:
<3385482C.5A9C8E0D@peerlogic.com>Show Full Headers
Complete Article Headers
Message-ID: <3385E92E.758F02E5@spinne.com>
Subject: Re: HELP! -- ${SITE}=n file growing out of control
Date: Fri, 23 May 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <3385482C.5A9C8E0D@peerlogic.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!not-for-mail
X-Deja-AN: 243400418
To: news@peerlogic.com
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp