Article View: news.software.nntp
Article #73730Re: index inode mismatch
From: John F. Morse
Date: Tue, 20 Jun 2006 06:16
Date: Tue, 20 Jun 2006 06:16
71 lines
3659 bytes
3659 bytes
Russ Allbery wrote: >John F Morse <xanadu.bbs@invalid.net> writes: > > >>What specifically does Inn refer to when using the inode term? >> >> > > > >>Will this problem repair itself during the nightly housekeeping? Perhaps >>it already did so last night. >> >> > >This means that the inode of the index file for the overview for a >particular group does not match the inode recorded in the overall database >index. INN uses the inode as a hint to avoid locking in the common case, >so this mismatch causes nnrpd to run somewhat slower since it has to lock >each overview file as it opens it. This is usually caused by moving the >overview to a different disk, and other than the slight slowdown from >doing otherwise unnecessary locking is harmless. > >Nightly expire will rewrite all of the overview files and will thereby fix >this problem. > Thanks, Russ. Yes the problem fixed itself at the 0415 expiry routine. All looks well now. Later in the morning I changed the /etc/cron.d/inn2 time to 0 0 instead of the 15 4 default. The newest Daily Report looks fine, and there were no entries in any of the error log files prior to midnight. I did find an error in the From: TLD of exim4 from months ago and fixed it as well. The reason for the inode problem is exactly what you mentioned. As a quick method to get the new server operating after an apt-get install, I simply used remote copy to snag all of the configuration files, and the spool stuff, from the news2 server, which is headless, and located in the basement with news7. For instance, I ran the following from another BASH terminal, three floors distant from the news2 and news7 servers, while ssh to var/spool/news of news7, news' home: news@news7:~$ rcp -r news@news2:/var/spool/news/articles . (the dot means "here") Cheap and somewhat fast, considering around 50k articles or so. Faster than pullnews or suck, and the message numbers remained the same. The paths will be wrong, but this server is for experimental use. I couldn't get the following to work: news@main_computer:~$ rcp -r news@news2:/var/spool/news/articles news@news7:/var/spool/news This method, if it would have worked, would probably have doubled the LAN traffic, since main_computer would have to relay everything. Again, thanks. -- John
Technical Details
Message-ID:
<RoMlg.42726$mF2.42528@bgtnsc04-news.ops.worldnet.att.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<SEIlg.42165$mF2.11171@bgtnsc04-news.ops.worldnet.att.net> <87k67ck252.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <RoMlg.42726$mF2.42528@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: index inode mismatch Date: Tue, 20 Jun 2006 06:16:17 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <SEIlg.42165$mF2.11171@bgtnsc04-news.ops.worldnet.att.net> <87k67ck252.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <87k67ck252.fsf@windlord.stanford.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 71 NNTP-Posting-Host: 74262eb41663593901195fddea285b02 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1150784177 NNTP-Posting-Date: Tue, 20 Jun 2006 06:16:17 GMT