Article View: news.software.nntp
Article #32795Re: diablo dreaderd dexpireover on linux
From: Matt Dillon
Date: Mon, 09 Nov 1998 00:00
Date: Mon, 09 Nov 1998 00:00
45 lines
3030 bytes
3030 bytes
:In article <7272d6$b0q$1@nnrp1.dejanews.com>,
: <richard.brons@inet.unisource.nl> wrote:
:>On linux rh 5.1, the dexpireover -a -R operation (21-test)only is completed
:>succesfully after having set the inode max (per process) on 65148, and the
:>"max file open" on appr. 1/3 of this ultimate inode-limit. Under Linux, one
:>cannot hardset "unlimit" for "max file open", it has to be re-compiled for
:>that, but will 1024 instead of 256 suffice? For several reasons, I had to
:>postpone further testing (for Linux, that is). The workings of dexpireover -a
:>-R do not seem very efficient, though: running out of inodes (and thereby
:>stopping the system) as if the numerous files it opens are not closed timely
:>enough. Tracing is not very helpful, as the process, fault-free itself, just
:>runs out of inodes, that's it. On Linux, just dexpireover -a runs flawless,
:>and also the dexpireover -a -R -n does not give any warning. Richard
:>
:>
:>-----------== Posted via Deja News, The Discussion Network ==----------
:>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Well, it sounds like dexpireover is forgetting to close descriptors
but I can't find any bugs in the code, and there's something seriously
odd about the system running out of inodes... it sounds like the overview
scan is broken somewhere. What may be occuring is that one of
the overview files is bokered and causing it to try to rewrite
hundreds of data. files for one over. file (or thousands ...).
If you are familiar with the 'strace' utility, perhaps you can run
dexpireover -a -R through that. The output might make the problem
more obvious.
dexpireover -a -R is expensive, but it shouldn't be creating thousands
of files. Normally -R only creates replacement .data files for
the ones already on disk, then renames-over (.data -> data.) and closes
the descriptors. Each data file holds 256 articles so, for example,
a group containing 4000 articles would temporarily use 15 descriptors.
But dexpireover closes them and fixes up the data files before moving
onto the next group.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<728n8r$8g8$1@flea.best.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-mailReferences:
<7272d6$b0q$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
Message-ID: <728n8r$8g8$1@flea.best.net> Subject: Re: diablo dreaderd dexpireover on linux Date: Mon, 09 Nov 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <7272d6$b0q$1@nnrp1.dejanews.com> 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: 410226715 X-Trace: nntp1.ba.best.com 910680159 12776 dillon@206.184.139.131 Organization: BEST Internet Communications, Inc. www.best.com Newsgroups: news.software.nntp