Thread View: news.software.nntp
2 messages
2 total messages
Started by news administrator
Fri, 23 May 1997 00:00
HELP! -- ${SITE}=n file growing out of control
Author: news administrator
Date: Fri, 23 May 1997 00:00
Date: Fri, 23 May 1997 00:00
19 lines
1198 bytes
1198 bytes
I've just recently upgraded our news server to INN-1.5.1 running on SunOS 4.1.4. 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. Can any wizards out there explain to me the use of this file, and let me know if I have a problem or not (ie, should the file be growing; will it stop, etc); TIA
Re: HELP! -- ${SITE}=n file growing out of control
Author: 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/
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