Article View: news.software.nntp
Article #6047expiring with expdir: still out of space (inn-1.4sec)
From: Anne Bennett
Date: Tue, 26 Mar 1996 00:00
Date: Tue, 26 Mar 1996 00:00
38 lines
2271 bytes
2271 bytes
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:
<4j9mpb$sp9@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-mailShow Full Headers
Complete Article Headers
Message-ID: <4j9mpb$sp9@newsflash.concordia.ca> Subject: expiring with expdir: still out of space (inn-1.4sec) Date: Tue, 26 Mar 1996 00:00:00 +0000 From: anne@alcor.concordia.ca (Anne Bennett) 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: 144230307 Organization: Concordia University, Montreal, Canada Reply-to: Anne Bennett <anne@alcor.concordia.ca> Nntp-posting-user: anne Newsgroups: news.software.nntp