Article View: news.software.nntp
Article #15055Re: Inn news.daily
From: Anne Bennett
Date: Fri, 14 Feb 1997 00:00
Date: Fri, 14 Feb 1997 00:00
62 lines
3156 bytes
3156 bytes
Jason Brown <jbrown@interalpha.co.uk> writes: > > Am I right in thinking that I can run news.daily with a parameter of > expdir= to specify where to build the history.n new history database, Yes. But this is not always as useful as one might hope, and can cause problems. See the appended posting which I made to news.software.nntp about one year ago. Anne. -- Ms. Anne Bennett anne@alcor.concordia.ca (514) 848-7606 Computing Services, Concordia University, Montreal QC, Canada H3G 1M8 ---------------------------------------------------------------------------- Date: Tue Mar 26 16:00:48 1996 EST From anne Tue Mar 26 16:15:26 EST 1996 Newsgroups: news.software.nntp Subject: expiring with expdir: still out of space (inn-1.4sec) Reply-To: Anne Bennett <anne@alcor.concordia.ca> I have experienced (and, I think, resolved, but that remains to be seen) a problem with expiring with the "-d expdir" option with inn-1.4sec. Because the problem seems to lie in the news.daily script and that section of it is unchanged in unoff4, I would suspect that unoff4 has the problem as well. The immediate symptom of the problem is that when news.daily tries to "go" innd after moving the history files, innd dies, reporting the error "/usr/local/news/history cant dbminit ME No such file or directory". Inspection reveals that one of the history files is missing, and sure enough, news.daily encountered the error: mv: /usr/local/news/history.pag: No space left on device A "mv" across filesystems is implemented (at least by Digital Unix) as the equivalent of doing "rm -f destination && cp -pr source destination && rm -rf source". If there is a process holding the history files open, then these files will be unlinked but their space not deallocated, so the attempt to move the new versions into place will run out of room on the partition. And it turns out that nnrpd can hold the history files open. I have therefore modified my news.daily to cat /dev/null to the old history files to clear space, before moving the new versions into place. Tonight will be the test run. :-) Remember, the above applies only if one is expiring with the "-d expdir" option. Anne. -- Ms. Anne Bennett anne@alcor.concordia.ca (514) 848-7606 Computing Services, Concordia University, Montreal QC, Canada H3G 1M8 (Administrator for Concordia University mail relay and news transfer)
Technical Details
Message-ID:
<5e2p43$n97@newsflash.concordia.ca>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:
<Pine.LNX.3.93.970213151857.9115A-100000@jason.interalpha.net>Show Full Headers
Complete Article Headers
Message-ID: <5e2p43$n97@newsflash.concordia.ca> Subject: Re: Inn news.daily Date: Fri, 14 Feb 1997 00:00:00 +0000 From: anne@alcor.concordia.ca (Anne Bennett) References: <Pine.LNX.3.93.970213151857.9115A-100000@jason.interalpha.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.mbox.zip!not-for-mail X-Deja-AN: 218847227 Organization: Concordia University, Montreal, Canada Reply-To: Anne Bennett <anne@alcor.concordia.ca> Newsgroups: news.software.nntp NNTP-Posting-User: anne