Thread View: news.software.nntp
2 messages
2 total messages
Started by Jason Brown
Thu, 13 Feb 1997 00:00
Inn news.daily
Author: Jason Brown
Date: Thu, 13 Feb 1997 00:00
Date: Thu, 13 Feb 1997 00:00
20 lines
1055 bytes
1055 bytes
Hi! 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, because my history file has grown to 250Megs and is unable to fit two history files on the same partition eg. I have my current history file in /usr/local/news/lib/history and want to build the history.n file in /usr/src/ So I run `news.daily expdir=/usr/src/` ?? Thanks Jason.
Re: Inn news.daily
Author: 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)
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